From 69616bae40738481d6802286012c28872dc65dfb Mon Sep 17 00:00:00 2001 From: buck-yeh Date: Wed, 24 Jan 2018 15:12:36 +0800 Subject: [PATCH] Make more Linux distros happy Specifically, Fefora 27 will complain about missing , so will Solus. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cdeb93d..c66f18a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)