mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 00:26:17 +00:00
Fixed: #96 cmake and freetype detection on Linux Debian SID
This commit is contained in:
parent
e140e61387
commit
7856179879
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ IF(FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIRS)
|
||||||
ENDIF(FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIRS)
|
ENDIF(FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIRS)
|
||||||
|
|
||||||
FIND_PATH(FREETYPE_INCLUDE_DIRS
|
FIND_PATH(FREETYPE_INCLUDE_DIRS
|
||||||
freetype
|
freetype.h
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{FREETYPE_DIR}/include
|
$ENV{FREETYPE_DIR}/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
|
@ -19,7 +19,7 @@ FIND_PATH(FREETYPE_INCLUDE_DIRS
|
||||||
/opt/local/include
|
/opt/local/include
|
||||||
/opt/csw/include
|
/opt/csw/include
|
||||||
/opt/include
|
/opt/include
|
||||||
PATH_SUFFIXES freetype freetype2
|
PATH_SUFFIXES freetype2/freetype freetype freetype2
|
||||||
)
|
)
|
||||||
|
|
||||||
# ft2build.h does not reside in the freetype include dir
|
# ft2build.h does not reside in the freetype include dir
|
||||||
|
@ -32,6 +32,7 @@ FIND_PATH(FREETYPE_ADDITIONAL_INCLUDE_DIR
|
||||||
/opt/local/include
|
/opt/local/include
|
||||||
/opt/csw/include
|
/opt/csw/include
|
||||||
/opt/include
|
/opt/include
|
||||||
|
PATH_SUFFIXES freetype2
|
||||||
)
|
)
|
||||||
|
|
||||||
# combine both include directories into one variable
|
# combine both include directories into one variable
|
||||||
|
|
Loading…
Reference in a new issue