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

@ -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})
################################################################################