aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/CMakeLists.txt
diff options
context:
space:
mode:
authorJakub Zakrzewski <jzakrzewski@e2ebridge.com>2014-08-22 17:02:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-09 13:48:30 +0200
commita3154295c5b0b538d7883d30e6f1325b69bb50fd (patch)
tree4e7470637e55301850da87fe03ed55a48bcf7f3e /tests/libtest/CMakeLists.txt
parent2257deb50261e1e3193dd40ce92ae4f94ae135a1 (diff)
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.
Diffstat (limited to 'tests/libtest/CMakeLists.txt')
-rw-r--r--tests/libtest/CMakeLists.txt4
1 files changed, 2 insertions, 2 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})