aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(