diff --git a/CMakeLists.txt b/CMakeLists.txt index ebc3621ef..c6dc12a8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)