From 51e0b377c03d2e3b2e040ab4cf6fa8b1761a5bef Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Thu, 1 Aug 2024 22:29:44 -0500 Subject: [PATCH] CMake link line needs to use new HDF5_ENABLE_THREADS (#4685) --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index fe860d5ae77..85280b5eff5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -570,11 +570,11 @@ if (NOT BUILD_SHARED_LIBS) TARGET_C_PROPERTIES (ttsafe STATIC) target_link_libraries (ttsafe PRIVATE ${HDF5_TEST_LIB_TARGET}) if (NOT WIN32) - target_link_libraries (ttsafe PRIVATE "$<$:Threads::Threads>") + target_link_libraries (ttsafe PRIVATE "$<$:Threads::Threads>") endif () else () TARGET_C_PROPERTIES (ttsafe SHARED) - target_link_libraries (ttsafe PRIVATE ${HDF5_TEST_LIBSH_TARGET} "$<$:Threads::Threads>") + target_link_libraries (ttsafe PRIVATE ${HDF5_TEST_LIBSH_TARGET} "$<$:Threads::Threads>") endif () set_target_properties (ttsafe PROPERTIES FOLDER test)