Make more Linux distros happy
Specifically, Fefora 27 will complain about missing <ft2build.h>, so will Solus.
This commit is contained in:
parent
2a26223628
commit
69616bae40
@ -131,7 +131,7 @@ endif(APPLE)
|
|||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
list(APPEND NANA_LINKS -lX11)
|
list(APPEND NANA_LINKS -lX11)
|
||||||
find_package(Freetype)
|
include(FindFreetype)
|
||||||
if (FREETYPE_FOUND)
|
if (FREETYPE_FOUND)
|
||||||
include_directories( ${FREETYPE_INCLUDE_DIRS})
|
include_directories( ${FREETYPE_INCLUDE_DIRS})
|
||||||
list(APPEND NANA_LINKS -lXft)
|
list(APPEND NANA_LINKS -lXft)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user