FindFreetype: Add plain 'freetype2' path suffix

On Haiku, the headers are not in an 'include' directory.
This commit is contained in:
Adrien Destugues 2014-03-03 16:01:23 +01:00 committed by Brad King
parent 581abf6d31
commit b79a1f6719
1 changed files with 2 additions and 2 deletions

View File

@ -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