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:
committed by
Daniel Stenberg
parent
2257deb502
commit
a3154295c5
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user