aboutsummaryrefslogtreecommitdiff
path: root/cmake/Findcurl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Findcurl.cmake')
-rw-r--r--cmake/Findcurl.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmake/Findcurl.cmake b/cmake/Findcurl.cmake
deleted file mode 100644
index 3ad12ea..0000000
--- a/cmake/Findcurl.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-include(FindPackageHandleStandardArgs)
-
-find_library(CURL_LIBRARY NAMES curl)
-
-find_package_handle_standard_args(curl REQUIRED_VARS CURL_LIBRARY)
-
-if (CURL_FOUND)
- mark_as_advanced(CURL_LIBRARY)
-endif()
-
-if(CURL_FOUND AND NOT TARGET curl::curl)
- add_library(CURL::libcurl IMPORTED UNKNOWN)
- set_property(TARGET CURL::libcurl PROPERTY IMPORTED_LOCATION ${CURL_LIBRARY})
-endif() \ No newline at end of file