vcpkg/ports/curl/0022-deduplicate-libs.patch

13 lines
388 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
2024-01-03 06:32:00 +08:00
index 0ceaf5b..ec714a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2024-01-03 06:32:00 +08:00
@@ -1682,6 +1682,7 @@ if(NOT CURL_DISABLE_INSTALL)
else()
set(ENABLE_SHARED "no")
set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}")
+ set(LIBCURL_LIBS "")
set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB")
endif()
if(BUILD_STATIC_LIBS)