1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix linking with SDL_ttf

This commit is contained in:
Mathieu Schroeter 2022-07-10 23:04:13 +02:00
parent b2c54962e3
commit 8d30f8578a
No known key found for this signature in database
GPG Key ID: 8B9145A5FA9DA8A8

View File

@ -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})