mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
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:
parent
2257deb502
commit
a3154295c5
5 changed files with 8 additions and 29 deletions
|
|
@ -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})
|
||||
|
||||
################################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue