From a85df931d29ee4cb86bbea6eef60fb08c90e3002 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Sat, 7 Apr 2018 11:38:31 +0800 Subject: [PATCH] Fix linker error on Debian 9 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3566ec4c..ac548dcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,7 @@ if(UNIX) include(FindFreetype) if(FREETYPE_FOUND) include_directories( ${FREETYPE_INCLUDE_DIRS}) - list(APPEND NANA_LINKS -lXft) + list(APPEND NANA_LINKS -lXft -lfontconfig) endif() endif()