From a3154295c5b0b538d7883d30e6f1325b69bb50fd Mon Sep 17 00:00:00 2001 From: Jakub Zakrzewski Date: Fri, 22 Aug 2014 17:02:59 +0200 Subject: Cmake: Got rid of setup_curl_dependencies There is no need for such function. Include_directories propagate by themselves and having a function with one simple link statement makes little sense. --- tests/server/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/server') 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, -- cgit v1.2.3