diff options
author | Adrien Destugues <pulkomandy@pulkomandy.tk> | 2014-03-03 15:01:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-10 13:42:05 (GMT) |
commit | b79a1f67195f6bb7fddd52215f442f319139b531 (patch) | |
tree | 6e0727f1d1422ccb561054c35b16fda86a9eb91f | |
parent | 581abf6d312614cf1d01f86d7f4feba344252422 (diff) | |
download | CMake-b79a1f67195f6bb7fddd52215f442f319139b531.zip CMake-b79a1f67195f6bb7fddd52215f442f319139b531.tar.gz CMake-b79a1f67195f6bb7fddd52215f442f319139b531.tar.bz2 |
FindFreetype: Add plain 'freetype2' path suffix
On Haiku, the headers are not in an 'include' directory.
-rw-r--r-- | Modules/FindFreetype.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake index 6f03c86..f0f9fe1 100644 --- a/Modules/FindFreetype.cmake +++ b/Modules/FindFreetype.cmake @@ -62,7 +62,7 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h ENV GTKMM_BASEPATH [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] - PATH_SUFFIXES include/freetype2 include + PATH_SUFFIXES include/freetype2 include freetype2 ) find_path(FREETYPE_INCLUDE_DIR_freetype2 @@ -79,7 +79,7 @@ find_path(FREETYPE_INCLUDE_DIR_freetype2 ENV GTKMM_BASEPATH [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] - PATH_SUFFIXES include/freetype2 include + PATH_SUFFIXES include/freetype2 include freetype2 ) find_library(FREETYPE_LIBRARY |