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 committed 2010-12-24 18:04:09 +01:00
1 parent f690338de1
commit a99e12cf0f
2 files changed
+2 -2

No files matched your search

+1 -1
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" )
+1 -1
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}")