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

16 lines
601 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
2024-09-12 05:03:28 +08:00
index da69699..3a9b844 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2024-09-12 05:03:28 +08:00
@@ -2042,8 +2042,10 @@ if(NOT CURL_DISABLE_INSTALL)
set(LIBCURL_PC_CFLAGS "")
2024-01-03 06:32:00 +08:00
else()
2024-09-12 05:03:28 +08:00
set(ENABLE_SHARED "no")
+ set(LIBCURL_PC_REQUIRES_PRIVATE "") # flattened into LIBCURL_PC_LIBS
set(LIBCURL_PC_REQUIRES "${LIBCURL_PC_REQUIRES_PRIVATE}")
set(LIBCURL_PC_LIBS "${LIBCURL_PC_LIBS_PRIVATE}")
+ set(LIBCURL_PC_LIBS_PRIVATE "") # in LIBCURL_PC_LIBS
set(LIBCURL_PC_CFLAGS "${LIBCURL_PC_CFLAGS_PRIVATE}")
2024-01-03 06:32:00 +08:00
endif()
if(BUILD_STATIC_LIBS)