diff --git a/CMakeLists.txt b/CMakeLists.txt index 75dc168..c206719 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,7 +261,9 @@ endif () if (MSVC) target_link_libraries(criterion wingetopt) -else () +endif () + +if (NOT WIN32) target_link_libraries(criterion pthread) endif ()