diff --git a/CMakeLists.txt b/CMakeLists.txt index af1ad37..d3709e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ if (NOT BUILD_JS) set (planetblupi_DEPS ${planetblupi_DEPS} ${SDL2_IMAGE_STATIC_LIBRARIES}) pkg_search_module (SDL2_TTF REQUIRED SDL2_ttf) include_directories (${SDL2_TTF_INCLUDE_DIRS}) - set (planetblupi_DEPS ${planetblupi_DEPS} ${SDL2_TTF_STATIC_LIBRARIES}) + set (planetblupi_DEPS ${planetblupi_DEPS} ${SDL2_TTF_STATIC_LIBRARIES} -lharfbuzz -lfreetype -Wl,--allow-multiple-definition) pkg_search_module (SDL2_MIXER REQUIRED SDL2_mixer) include_directories (${SDL2_MIXER_INCLUDE_DIRS}) set (planetblupi_DEPS ${planetblupi_DEPS} ${SDL2_MIXER_STATIC_LIBRARIES})