mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-14 00:10:57 +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)
|
if (UNIX)
|
||||||
target_link_libraries(updatershared pthread)
|
target_link_libraries(updatershared pthread dl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
@ -106,7 +106,6 @@ endif()
|
||||||
|
|
||||||
target_link_libraries(updater
|
target_link_libraries(updater
|
||||||
updatershared
|
updatershared
|
||||||
dl
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS updater RUNTIME DESTINATION bin)
|
install(TARGETS updater RUNTIME DESTINATION bin)
|
||||||
|
|
Loading…
Reference in a new issue