aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-04-17 02:48:33 +0800
committerGitHub <noreply@github.com>2020-04-16 11:48:33 -0700
commit4b8ad78657bc1b55080e3cfb350e3ebbe2c1f1ee (patch)
treee84aa22942050e54417432368f630fdfb65a79bb
parentc5f01e1dee0d41b8014ac6f1eeafda974917ba17 (diff)
downloadvcpkg-4b8ad78657bc1b55080e3cfb350e3ebbe2c1f1ee.tar.gz
vcpkg-4b8ad78657bc1b55080e3cfb350e3ebbe2c1f1ee.zip
[curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error (#10535)
* [curl] Add zlib to default feature * [curl] Fix line alignment * [curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error * [curlpp] Fix target "curlpp" link "ZLIB::ZLIB" error
-rw-r--r--ports/curlpp/CONTROL2
-rw-r--r--ports/curlpp/fix-findzliberror.patch9
-rw-r--r--ports/curlpp/portfile.cmake1
3 files changed, 11 insertions, 1 deletions
diff --git a/ports/curlpp/CONTROL b/ports/curlpp/CONTROL
index 3978c383c..cac6a6048 100644
--- a/ports/curlpp/CONTROL
+++ b/ports/curlpp/CONTROL
@@ -1,4 +1,4 @@
Source: curlpp
-Version: 2018-06-15-2
+Version: 2018-06-15-3
Description: C++ wrapper around libcURL
Build-Depends: curl
diff --git a/ports/curlpp/fix-findzliberror.patch b/ports/curlpp/fix-findzliberror.patch
new file mode 100644
index 000000000..4876d0f25
--- /dev/null
+++ b/ports/curlpp/fix-findzliberror.patch
@@ -0,0 +1,9 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c42943c..12d402c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,3 +1,4 @@
++cmake_minimum_required(VERSION 2.8)
+ project(curlpp)
+
+
diff --git a/ports/curlpp/portfile.cmake b/ports/curlpp/portfile.cmake
index fdc6d7f45..c80c3c180 100644
--- a/ports/curlpp/portfile.cmake
+++ b/ports/curlpp/portfile.cmake
@@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
fix-cmake.patch
+ fix-findzliberror.patch
)
vcpkg_configure_cmake(