Avoid trying to link against the pthreads library when building on Win32

This commit is contained in:
Robert Knight 2011-08-22 15:51:50 +01:00
parent fc6101a9ec
commit 48c6a7d5d1

View file

@ -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
)