From 251d32542065792dbfb405158e1132b666592f9a Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 27 Aug 2016 14:40:19 +0200 Subject: Fix CMake configuration for fontconfig ftheader.h is unlikely to be found in include/freetype2/freetype/config/, but rather in include/freetype2/config/. We also re-enable the freetype/bug00132 test case for CMake, as it's also enabled for autotools. --- cmake/modules/FindFreetype.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/modules/FindFreetype.cmake b/cmake/modules/FindFreetype.cmake index 3d2a8a4..dd4db27 100644 --- a/cmake/modules/FindFreetype.cmake +++ b/cmake/modules/FindFreetype.cmake @@ -69,7 +69,7 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h PATH_SUFFIXES include/freetype2 include ) -find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h +find_path(FREETYPE_INCLUDE_DIR_freetype2 config/ftheader.h HINTS ENV FREETYPE_DIR PATHS -- cgit v1.2.1