mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-26 05:41:28 +00:00
Only try to link libdl on Unix platforms
This commit is contained in:
parent
4459c96595
commit
38c9cd9b41
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue