View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013964CMakeModulespublic2013-02-28 12:262016-06-10 14:31
ReporterMichał Górny 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013964: FindX11.cmake does not respect pkg-config and therefore fails to obtain proper cflags for libXft
DescriptionWe 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.
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042242)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2013-02-28 12:26 Michał Górny New Issue
2016-06-10 14:28 Kitware Robot Note Added: 0042242
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team