diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index 8eeff9d9b..497cd0ba3 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -8,3 +8,7 @@ file(GLOB SOURCE ) add_library(OSSupport ${SOURCE}) + +if(UNIX) + target_link_libraries(OSSupport pthread) +endif()