mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 11:11:23 +00:00
Fix cmake build
This commit is contained in:
parent
6732bf1e4d
commit
7f1f1cecdf
@ -77,6 +77,7 @@ if(NOT APPLE)
|
|||||||
else()
|
else()
|
||||||
set(CRYPTO_LIBRARY "-framework Security")
|
set(CRYPTO_LIBRARY "-framework Security")
|
||||||
endif()
|
endif()
|
||||||
|
find_package(OpenSSL REQUIRED)
|
||||||
|
|
||||||
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams
|
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams
|
||||||
program_options regex system thread random coroutine)
|
program_options regex system thread random coroutine)
|
||||||
|
@ -68,6 +68,7 @@ endif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||||||
set(game-external-libs
|
set(game-external-libs
|
||||||
${common-external-libs}
|
${common-external-libs}
|
||||||
${CRYPTO_LIBRARY}
|
${CRYPTO_LIBRARY}
|
||||||
|
${OPENSSL_SSL_LIBRARY}
|
||||||
${Boost_SYSTEM_LIBRARIES}
|
${Boost_SYSTEM_LIBRARIES}
|
||||||
${Boost_RANDOM_LIBRARY}
|
${Boost_RANDOM_LIBRARY}
|
||||||
${Boost_THREAD_LIBRARY}
|
${Boost_THREAD_LIBRARY}
|
||||||
@ -94,6 +95,7 @@ set(server-external-libs
|
|||||||
${Boost_RANDOM_LIBRARY}
|
${Boost_RANDOM_LIBRARY}
|
||||||
${Boost_COROUTINE_LIBRARY}
|
${Boost_COROUTINE_LIBRARY}
|
||||||
${CRYPTO_LIBRARY}
|
${CRYPTO_LIBRARY}
|
||||||
|
${OPENSSL_SSL_LIBRARY}
|
||||||
${MYSQL_LIBS}
|
${MYSQL_LIBS}
|
||||||
-lpthread
|
-lpthread
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user