Merge pull request #83 from AMDmi3/patch-1

Simplify conditional linking with libdl
This commit is contained in:
Michael Cook
2013-10-09 08:33:27 -07:00
8 changed files with 8 additions and 24 deletions
+1 -3
View File
@@ -223,9 +223,7 @@ IF(MINGW)
ENDIF(MINGW)
IF(UNIX)
IF(NOT FREEBSD)
TARGET_LINK_LIBRARIES(zone "dl")
ENDIF(NOT FREEBSD)
TARGET_LINK_LIBRARIES(zone "${CMAKE_DL_LIBS}")
TARGET_LINK_LIBRARIES(zone "z")
TARGET_LINK_LIBRARIES(zone "m")
TARGET_LINK_LIBRARIES(zone "rt")