diff options
-rw-r--r-- | src/server/authserver/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/server/worldserver/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authserver/CMakeLists.txt b/src/server/authserver/CMakeLists.txt index 3a862d607ef..4b811316560 100644 --- a/src/server/authserver/CMakeLists.txt +++ b/src/server/authserver/CMakeLists.txt @@ -75,7 +75,7 @@ if( NOT WIN32 ) endif() if( UNIX ) - set(authserver_LINK_FLAGS "-pthread ${authserver_LINK_FLAGS}") + set(authserver_LINK_FLAGS "-pthread -lcrypto ${authserver_LINK_FLAGS}") endif() if( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) diff --git a/src/server/worldserver/CMakeLists.txt b/src/server/worldserver/CMakeLists.txt index ef1f6bf7be4..1f07c98e0cd 100644 --- a/src/server/worldserver/CMakeLists.txt +++ b/src/server/worldserver/CMakeLists.txt @@ -152,7 +152,7 @@ endif() add_dependencies(worldserver revision.h) if( UNIX ) - set(worldserver_LINK_FLAGS "-pthread -lncurses ${worldserver_LINK_FLAGS}") + set(worldserver_LINK_FLAGS "-pthread -lncurses -lcrypto ${worldserver_LINK_FLAGS}") endif() set_target_properties(worldserver PROPERTIES LINK_FLAGS "${worldserver_LINK_FLAGS}") |