diff --git a/CMakeLists.txt b/CMakeLists.txt index 4caea5f..75dc168 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,8 @@ endif () if (MSVC) target_link_libraries(criterion wingetopt) +else () + target_link_libraries(criterion pthread) endif () if (HAVE_CLOCK_GETTIME)