Only try to link libdl on Unix platforms

This commit is contained in:
Robert Knight 2011-08-26 18:08:56 +01:00
parent 4459c96595
commit 38c9cd9b41

View file

@ -88,7 +88,7 @@ target_link_libraries(updatershared
)
if (UNIX)
target_link_libraries(updatershared pthread)
target_link_libraries(updatershared pthread dl)
endif()
if (WIN32)
@ -106,7 +106,6 @@ endif()
target_link_libraries(updater
updatershared
dl
)
install(TARGETS updater RUNTIME DESTINATION bin)