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. --- src/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2822c5bc2..fceaf10fb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,11 +30,8 @@ include_directories( ${CURL_BINARY_DIR}/include # To be able to reach "curl/curlbuild.h" ) - -# Setup dependencies -setup_curl_dependencies(${EXE_NAME}) -target_link_libraries( ${EXE_NAME} libcurl ) - +#Build cURL executable +target_link_libraries( ${EXE_NAME} libcurl ${CURL_LIBS}) ################################################################################ -- cgit v1.2.3