summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-27 14:40:19 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-27 14:41:31 +0200
commit251d32542065792dbfb405158e1132b666592f9a (patch)
tree450cbc7311a3a3907beff3c750f5b57625d04a5d /cmake
parent59d077aeabb8b8bde7164b84c1739c6b2c26b055 (diff)
downloadlibgd-251d32542065792dbfb405158e1132b666592f9a.tar.gz
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindFreetype.cmake2
1 files changed, 1 insertions, 1 deletions
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