Skip to content

Commit

Permalink
Fix cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Feb 23, 2021
1 parent 0431b84 commit d3d0262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -80,6 +80,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)
Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -72,6 +72,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}
Expand Down Expand Up @@ -99,6 +100,7 @@ set(server-external-libs
${Boost_RANDOM_LIBRARY}
${Boost_COROUTINE_LIBRARY}
${CRYPTO_LIBRARY}
${OPENSSL_SSL_LIBRARY}
${MYSQL_LIBS}
-lpthread
)
Expand Down

0 comments on commit d3d0262

Please sign in to comment.