|
From: | SiegeLord |
Subject: | Re: [ft] Inconsistency between ftoption.h and generated binary |
Date: | Thu, 17 Aug 2017 22:12:05 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/29/2017 11:43 PM, Werner LEMBERG wrote:
Indeed. Please open a bug tracker issue.
Done.
Is there a reason you can't use `freetype-config' or `freetype.pc'? Both solutions can report the necessary static libraries:
Essentially because it doesn't work with MSVC. My project uses CMake to do its thing (in particular, it's preferable to let it discover the locations of zlib/libpng/etc using its own mechanisms, instead of grabbing the link commands from freetype-config). Thus it'd be ideal if there was a cross-compiler representation of what should be linked in (ftoption.h is in some ways ideal for this). I actually got pretty far by introspecting freetype-config, but it's not clear what freetype-config should look like for MSVC.
For now, my workaround is to force the user of my build script to specify manually what FreeType should be linked alongside with.
[Prev in Thread] | Current Thread | [Next in Thread] |