The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13964 ====================================================================== Reported By: Michał Górny Assigned To: ====================================================================== Project: CMake Issue ID: 13964 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-02-28 12:26 EST Last Modified: 2013-02-28 12:26 EST ====================================================================== Summary: FindX11.cmake does not respect pkg-config and therefore fails to obtain proper cflags for libXft Description: 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. Steps to Reproduce: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-02-28 12:26 Michał Górny New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
