mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Pass intl and iconv static lib only with static linking
This commit is contained in:
parent
98e29b56b7
commit
73f916093f
@ -144,13 +144,10 @@ endif ()
|
|||||||
|
|
||||||
add_executable (planetblupi ${sources})
|
add_executable (planetblupi ${sources})
|
||||||
|
|
||||||
set (planetblupi_DEPS
|
|
||||||
${Intl_LIBRARIES}
|
|
||||||
${Iconv_LIBRARIES}
|
|
||||||
)
|
|
||||||
|
|
||||||
if ("${STATIC_BUILD}")
|
if ("${STATIC_BUILD}")
|
||||||
list (APPEND planetblupi_DEPS
|
set (planetblupi_DEPS
|
||||||
|
${Intl_LIBRARIES}
|
||||||
|
${Iconv_LIBRARIES}
|
||||||
${SDL2_STATIC_LIBRARIES}
|
${SDL2_STATIC_LIBRARIES}
|
||||||
${SDL2_MIXER_STATIC_LIBRARIES}
|
${SDL2_MIXER_STATIC_LIBRARIES}
|
||||||
${SDL2_IMAGE_STATIC_LIBRARIES}
|
${SDL2_IMAGE_STATIC_LIBRARIES}
|
||||||
@ -172,7 +169,7 @@ if ("${STATIC_BUILD}")
|
|||||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${CMAKE_INSTALL_PREFIX}/lib/pulseaudio")
|
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${CMAKE_INSTALL_PREFIX}/lib/pulseaudio")
|
||||||
endif ()
|
endif ()
|
||||||
else ()
|
else ()
|
||||||
list (APPEND planetblupi_DEPS
|
set (planetblupi_DEPS
|
||||||
${SDL2_LIBRARIES}
|
${SDL2_LIBRARIES}
|
||||||
${SDL2_MIXER_LIBRARIES}
|
${SDL2_MIXER_LIBRARIES}
|
||||||
${SDL2_IMAGE_LIBRARIES}
|
${SDL2_IMAGE_LIBRARIES}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user