mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-22 20:01:20 +00:00
Avoid trying to link against the pthreads library when building on Win32
This commit is contained in:
parent
fc6101a9ec
commit
48c6a7d5d1
1 changed files with 4 additions and 2 deletions
|
@ -35,10 +35,12 @@ target_link_libraries(updatershared
|
|||
tinyxml
|
||||
minizip
|
||||
tinythread
|
||||
# TODO - Mac and Windows version
|
||||
pthread
|
||||
)
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(updatershared pthread)
|
||||
endif()
|
||||
|
||||
add_executable(updater
|
||||
main.cpp
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue