FindFreetype: Add plain 'freetype2' path suffix
On Haiku, the headers are not in an 'include' directory.
This commit is contained in:
parent
581abf6d31
commit
b79a1f6719
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue