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.
This commit is contained in:
Jakub Zakrzewski
2014-08-22 17:02:59 +02:00
committed by Daniel Stenberg
parent 2257deb502
commit a3154295c5
5 changed files with 8 additions and 29 deletions

View File

@@ -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,