aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/CMakeLists.txt4
-rw-r--r--tests/server/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/libtest/CMakeLists.txt b/tests/libtest/CMakeLists.txt
index c06b35619..73aaaa117 100644
--- a/tests/libtest/CMakeLists.txt
+++ b/tests/libtest/CMakeLists.txt
@@ -12,8 +12,8 @@ function(SETUP_TEST TEST_NAME) # ARGN are the files in the test
if(CURL_USE_ARES)
include_directories(${CARES_INCLUDE_DIR})
endif()
- setup_curl_dependencies(${TEST_NAME})
- target_link_libraries( ${TEST_NAME} libcurl )
+
+ target_link_libraries( ${TEST_NAME} libcurl ${CURL_LIBS})
set_target_properties(${TEST_NAME}
PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME})
diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt
index ee08345f8..031d81711 100644
--- a/tests/server/CMakeLists.txt
+++ b/tests/server/CMakeLists.txt
@@ -12,8 +12,8 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
if(CURL_USE_ARES)
include_directories(${CARES_INCLUDE_DIR})
endif()
- # resolve test needs this
- setup_curl_dependencies(${TEST_NAME})
+
+ target_link_libraries(${TEST_NAME} ${CURL_LIBS})
# Test servers simply are standalone programs that do not use libcurl
# library. For convinience and to ease portability of these servers,