Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based systems (and possibly some others)

Closes issue 4380

--HG--
branch : trunk
This commit is contained in:
click
2010-12-24 18:04:09 +01:00
parent f690338de1
commit a99e12cf0f
2 changed files with 2 additions and 2 deletions

View File

@@ -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" )

View File

@@ -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}")