Make more Linux distros happy

Specifically, Fefora 27 will complain about missing <ft2build.h>, so will Solus.
This commit is contained in:
buck-yeh 2018-01-24 15:12:36 +08:00 committed by GitHub
parent 2a26223628
commit 69616bae40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ endif(APPLE)
if(UNIX)
list(APPEND NANA_LINKS -lX11)
find_package(Freetype)
include(FindFreetype)
if (FREETYPE_FOUND)
include_directories( ${FREETYPE_INCLUDE_DIRS})
list(APPEND NANA_LINKS -lXft)