[cmake-developers] Targets for FindGTK2.cmake
Brad King
brad.king at kitware.com
Fri Sep 20 09:56:00 EDT 2013
On 09/19/2013 04:46 AM, Daniele E. Domenichelli wrote:
> Looks like that all the tests are fixed on all the builds now :)
I see failures such as:
http://open.cdash.org/testDetails.php?test=209170401&build=3034240
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
The reason is that this logic:
find_package(Freetype QUIET)
if(${FREETYPE_INCLUDE_DIR_ft2build} AND ${FREETYPE_INCLUDE_DIR_freetype2})
list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
endif()
does not end up adding the freetype include dirs to the usage
requirements of targets in their INTERFACE_INCLUDE_DIRECTORIES.
-Brad
More information about the cmake-developers
mailing list