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

Fix link order

This commit is contained in:
Mathieu Schroeter 2017-03-21 19:52:33 +01:00
parent 18ae020a3e
commit adcb8aea58

View File

@ -66,8 +66,8 @@ endif (MINGW)
set (CMAKE_INCLUDE_PATH ${CMAKE_INSTALL_PREFIX}/include)
set (CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib)
find_package (Iconv REQUIRED)
find_package (Intl REQUIRED)
find_package (Iconv REQUIRED)
find_package (PkgConfig REQUIRED)
pkg_search_module (SDL2 REQUIRED sdl2)
@ -93,8 +93,8 @@ set_property (TARGET SDL_kitchensink PROPERTY IMPORTED_LOCATION ${CMAKE_INSTALL_
###########################
target_link_libraries (planetblupi PUBLIC
${Iconv_LIBRARIES}
${Intl_LIBRARIES}
${Iconv_LIBRARIES}
${SDL2_STATIC_LIBRARIES}
${SDL2_MIXER_STATIC_LIBRARIES}
${SDL2_IMAGE_STATIC_LIBRARIES}