vcpkg/ports/curl/0022-deduplicate-libs.patch
Kai Pastor 08a6cdd73b
[curl] Update to 8.3.0 (#33924)
* [curl] Update to 8.3.0

* Add explicit usage

* Fix CMake 3.7 compatibility

* Update copyright

* Update vcpkg-cmake-wrapper
2023-09-26 00:09:06 -07:00

13 lines
367 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a35ee52..ee133d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1611,6 +1611,7 @@ if(BUILD_SHARED_LIBS)
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)