mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
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:
@@ -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" )
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user