mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 07:28:32 +00:00
Simplify conditional linking with libdl
This commit is contained in:
@@ -55,9 +55,7 @@ IF(MINGW)
|
||||
ENDIF(MINGW)
|
||||
|
||||
IF(UNIX)
|
||||
IF(NOT FREEBSD)
|
||||
TARGET_LINK_LIBRARIES(loginserver "dl")
|
||||
ENDIF(NOT FREEBSD)
|
||||
TARGET_LINK_LIBRARIES(loginserver "${CMAKE_DL_LIBS}")
|
||||
TARGET_LINK_LIBRARIES(loginserver "z")
|
||||
TARGET_LINK_LIBRARIES(loginserver "m")
|
||||
TARGET_LINK_LIBRARIES(loginserver "rt")
|
||||
|
||||
Reference in New Issue
Block a user