Fix cmake build
This commit is contained in:
parent
6732bf1e4d
commit
7f1f1cecdf
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue