The FreeType Project - Bugs: bug #57188, cmake: pkg-config for win32/mingw
You are not allowed to post comments on this tracker with your current authentication level.
bug #57188: cmake: pkg-config for win32/mingw
Submitter: | avih <avih> | ||
Submitted: | Fri 08 Nov 2019 06:15:26 AM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | morksig | Open/Closed: | Open |
Planned Release: | None |
Tue 12 Nov 2019 07:22:26 PM UTC, comment #4: |
Nikolaus Waxweiler <morksig> |
Sat 09 Nov 2019 06:02:29 PM UTC, comment #3:
|
avih <avih> |
Sat 09 Nov 2019 05:50:35 PM UTC, comment #2:
|
avih <avih> |
Sat 09 Nov 2019 05:39:54 PM UTC, comment #1: Curious. Just the other day I was wondering if CMake should install the .m4 thing as well. Maybe the pkg-config file should be gated not by UNIX but by some build time configuration? Are there any other files any platform needs?
|
Nikolaus Waxweiler <morksig> |
Fri 08 Nov 2019 06:15:26 AM UTC, original submission:
pkg-config is typically used with mingw setups in general, but `freetype2.pc` is not created with the cmake freetype2 build for win32.
|
avih <avih> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-11-09 | podtelez | Assigned to | None | morksig | |
Carbon-Copy | - | Added morksig |
Powered by Savane 3.13-cf05.
Corresponding source code
So, the thing is, the CMake file is unofficial and not supported by Werner, the maintainer. It is more or less a DIY file; if it can be bent to your wishes, great, if not, oh well.
Judging from https://gitlab.kitware.com/cmake/community/wikis/doc/tutorials/How-To-Write-Platform-Checks#platform-variables, your hack might actually be a good idea... MingW is sort of UNIX but then isn't, and compiling the UNIX ftsystem.c should only happen on an actual UNIX as a target platform I assume? Also, the pkg-config files are only useful on UNIX? So I guess we can actually go UNIX AND NOT MINGW AND NOT MSYS AND NOT CYGWIN?