diff --git a/.gitignore b/.gitignore index 4f8de9b3..e5d2f0b7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ bii/cmake/* bii/deps/* build/vc2013-bkl/* build/makefile-bkl/* +build/compile_commands.json *.obj *.exe *.pdb @@ -44,6 +45,6 @@ cmake-build-debug/ cmake_install.cmake *.DS_Store -*.db -*.opendb -.vscode \ No newline at end of file +*.db +*.opendb +.vscode 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()