From c529177ecc9b7cde3c3d1ff97754aca4a1005426 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Fri, 30 Jun 2023 17:17:30 -0500 Subject: [PATCH] build: add curl for test --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 246f1df73e1..061ba6bae60 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -41,7 +41,7 @@ if (BUILD_STATIC_LIBS) ) TARGET_C_PROPERTIES (${HDF5_TEST_LIB_TARGET} STATIC) target_link_libraries (${HDF5_TEST_LIB_TARGET} - PUBLIC ${LINK_LIBS} ${HDF5_LIB_TARGET} + PUBLIC ${LINK_LIBS} ${HDF5_LIB_TARGET} "$<$:CURL::libcurl>" PRIVATE "$<$,$>:ws2_32.lib>" ) if (MINGW)