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.

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to