vcpkg/ports/curlcpp/fix-cmake.patch
troyan1337 3c12be00c8
[curlcpp] Add curlcpp port (#40543)
Co-authored-by: troyan1337 <you@example.com>
2024-08-26 01:22:43 -07:00

14 lines
375 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f3c6d78..a457717 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -43,7 +43,7 @@ if(NOT BUILD_SHARED_LIBS)
${CURLCPP_HEADER_LIST}
)
else()
- add_library(curlcpp ${BUILD_SHARED_LIBS}
+ add_library(curlcpp SHARED
curl_easy.cpp
curl_header.cpp
curl_global.cpp