summaryrefslogtreecommitdiff
path: root/dev-cpp/curlpp/files
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2025-06-07 16:24:14 +0200
committerMaciej Barć <xgqt@gentoo.org>2025-06-07 16:24:59 +0200
commit6c631c6b57dd2d95390e7c833d0675c597247727 (patch)
treeeac248744e58ea647adb18208cb23235e1c066af /dev-cpp/curlpp/files
parent4dd8b4eeefb98e627e25bb1d6558219d088e0135 (diff)
downloadgentoo-6c631c6b57dd2d95390e7c833d0675c597247727.tar.gz
gentoo-6c631c6b57dd2d95390e7c833d0675c597247727.tar.bz2
gentoo-6c631c6b57dd2d95390e7c833d0675c597247727.zip
dev-cpp/curlpp: bump cmake_minimum_required
Closes: https://bugs.gentoo.org/957292 Closes: https://bugs.gentoo.org/957293 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-cpp/curlpp/files')
-rw-r--r--dev-cpp/curlpp/files/curlpp-0.8.1-cmake_minimum.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-cpp/curlpp/files/curlpp-0.8.1-cmake_minimum.patch b/dev-cpp/curlpp/files/curlpp-0.8.1-cmake_minimum.patch
new file mode 100644
index 000000000000..432ef8a1c22b
--- /dev/null
+++ b/dev-cpp/curlpp/files/curlpp-0.8.1-cmake_minimum.patch
@@ -0,0 +1,31 @@
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.20)
+ include(FindPkgConfig)
+ pkg_check_modules(CURLPP REQUIRED curlpp)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,3 +1,4 @@
++cmake_minimum_required(VERSION 3.20)
+ project(curlpp)
+
+
+@@ -15,7 +16,6 @@ include(GNUInstallDirs)
+
+ if(WIN32)
+ # cmake 3.4 is required for CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
+- cmake_minimum_required(VERSION 3.4)
+
+ # c++ 11 support from cmake 3.4 or newer
+ set(CMAKE_CXX_STANDARD 11) # C++11...
+@@ -25,7 +25,6 @@ if(WIN32)
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+ else()
+ if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_LESS 3.1)
+- cmake_minimum_required(VERSION 2.8)
+ # c++11 support for cmake 2.8.12 - 3.0.x
+ #
+ # for non-windows platform we try to keep cmake 2.8 support