Merge pull request #83 from AMDmi3/patch-1

Simplify conditional linking with libdl
This commit is contained in:
Michael Cook committed 2013-10-09 08:33:27 -07:00
commit c13c039721
8 files changed
+8 -24

No files matched your search

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