ENH: add optional support for c-ares

This commit is contained in:
Bill Hoffman
2009-07-14 19:03:31 +00:00
parent 6dade671ad
commit a8ea1e9ef4
5 changed files with 63 additions and 4 deletions

View File

@@ -9,7 +9,9 @@ function(SETUP_TEST TEST_NAME) # ARGN are the files in the test
${CURL_BINARY_DIR}/lib # To be able to reach "curl_config.h"
${CURL_BINARY_DIR}/include # To be able to reach "curl/curlbuild.h"
)
if(CURL_USE_ARES)
include_directories(${CARES_INCLUDE_DIR})
endif()
setup_curl_dependencies(${TEST_NAME})
target_link_libraries( ${TEST_NAME} libcurl )