diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bf7051e..f69975a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 )