MantisBT - CMake
View Issue Details
0013964CMakeModulespublic2013-02-28 12:262016-06-10 14:31
Michał Górny 
Kitware Robot 
normalminoralways
closedmoved 
CMake 2.8.10.2 
 
0013964: FindX11.cmake does not respect pkg-config and therefore fails to obtain proper cflags for libXft
We are moving freetype2 header into ABI-specific location in order to support multilib properly. The freetype2.pc specifies correct include path, and libXft.pc uses 'Requires.private' on freetype2.

Therefore:

$ pkg-config --cflags xft
-I/usr/lib64/freetype2/include/freetype2 -I/usr/lib64/freetype2/include

However, CMake does not use pkg-config but some hard-to-understand discovery logic which finds libXft properly but makes applications using it fail to build due to the necessity of having freetype2 include path as well.
1. build and install freetype2 with --includedir=/non-standard-location,
2. build and install libXft,
3. try to build any application using cmake & libXft, e.g. slim.
No tags attached.
Issue History
2013-02-28 12:26Michał GórnyNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042242
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042242)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.