Simplify conditional linking with libdl

This commit is contained in:
Dmitry Marakasov committed 2013-10-09 19:27:52 +04:00
1 parent 24308aec6c
commit 7ee417ab05
8 files changed
+8 -24

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ IF(MINGW)
ENDIF(MINGW)
IF(UNIX)
TARGET_LINK_LIBRARIES(tests "dl")
TARGET_LINK_LIBRARIES(tests "${CMAKE_DL_LIBS}")
TARGET_LINK_LIBRARIES(tests "z")
TARGET_LINK_LIBRARIES(tests "m")
TARGET_LINK_LIBRARIES(tests "rt")