mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
Remove tools-external-libs.
Also put Boost_RANDOM_LIBRARY, CRYPTO_LIBRARY, and MYSQL_LIBS into server-external-libs. (cherry-picked from commit 0bbc78945ee9945be708396f71d80d3869a31951)
This commit is contained in:
parent
d9bfb7511c
commit
eed7e5d8c6
@ -94,14 +94,9 @@ endif(ENABLE_HISTORY AND HISTORY_FOUND)
|
||||
set(server-external-libs
|
||||
${common-external-libs}
|
||||
${Boost_SYSTEM_LIBRARIES}
|
||||
)
|
||||
|
||||
set(tools-external-libs
|
||||
${common-external-libs}
|
||||
${sdl_image-lib}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARIES}
|
||||
${Boost_RANDOM_LIBRARY}
|
||||
${CRYPTO_LIBRARY}
|
||||
${MYSQL_LIBS}
|
||||
)
|
||||
|
||||
if(ENABLE_FRIBIDI AND FRIBIDI_FOUND)
|
||||
@ -319,9 +314,6 @@ if(ENABLE_SERVER)
|
||||
target_link_libraries(wesnothd
|
||||
wesnoth-core
|
||||
${server-external-libs}
|
||||
${Boost_RANDOM_LIBRARY}
|
||||
${CRYPTO_LIBRARY}
|
||||
${MYSQL_LIBS}
|
||||
)
|
||||
set_target_properties(wesnothd PROPERTIES OUTPUT_NAME ${BINARY_PREFIX}wesnothd${BINARY_SUFFIX})
|
||||
|
||||
@ -345,9 +337,6 @@ if(ENABLE_CAMPAIGN_SERVER)
|
||||
target_link_libraries(campaignd
|
||||
wesnoth-core
|
||||
${server-external-libs}
|
||||
${CRYPTO_LIBRARY}
|
||||
${Boost_RANDOM_LIBRARY}
|
||||
${MYSQL_LIBS}
|
||||
)
|
||||
set_target_properties(campaignd PROPERTIES OUTPUT_NAME ${BINARY_PREFIX}campaignd${BINARY_SUFFIX})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user