mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
CMakeLists: Remove cond where curl is not found
This commit is contained in:
parent
403b4c085c
commit
0d760baec6
1 changed files with 0 additions and 6 deletions
|
@ -226,12 +226,6 @@ find_package(PkgConfig QUIET)
|
|||
|
||||
find_package(CURL ${CURL_MINIMUM} REQUIRED)
|
||||
|
||||
if(NOT TARGET CURL::libcurl)
|
||||
add_library(CURL::libcurl INTERFACE IMPORTED)
|
||||
target_link_libraries(CURL::libcurl INTERFACE ${CURL_LIBRARIES})
|
||||
target_include_directories(CURL::libcurl INTERFACE ${CURL_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if(ENABLE_DEPRECATED STREQUAL "AUTO")
|
||||
if(DEFINED ENV{CI})
|
||||
set(ENABLE_DEPRECATED OFF)
|
||||
|
|
Loading…
Reference in a new issue