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