vcpkg/ports/curlcpp/fix-cmake.patch

14 lines
375 B
Diff
Raw Normal View History

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