diff --git a/tests/ExtraTests/CMakeLists.txt b/tests/ExtraTests/CMakeLists.txt index 52d1f0f8c7..db9897b0a5 100644 --- a/tests/ExtraTests/CMakeLists.txt +++ b/tests/ExtraTests/CMakeLists.txt @@ -480,7 +480,8 @@ set_tests_properties( ) add_executable(Multithreading ${TESTS_DIR}/X37-Multithreading.cpp) -target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain) +find_package(Threads REQUIRED) +target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain Threads::Threads) target_compile_features(Multithreading PRIVATE cxx_std_11) add_test( NAME Reporters::Multithreading