From a99e12cf0f426ab5a7d3f4f7cf6bbed8df113af3 Mon Sep 17 00:00:00 2001 From: click Date: Fri, 24 Dec 2010 18:04:09 +0100 Subject: Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based systems (and possibly some others) Closes issue 4380 --HG-- branch : trunk --- src/server/authserver/CMakeLists.txt | 2 +- src/server/worldserver/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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}") -- cgit v1.2.3