From 6c631c6b57dd2d95390e7c833d0675c597247727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 7 Jun 2025 16:24:14 +0200 Subject: dev-cpp/curlpp: bump cmake_minimum_required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/957292 Closes: https://bugs.gentoo.org/957293 Signed-off-by: Maciej Barć --- .../curlpp/files/curlpp-0.8.1-cmake_minimum.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-cpp/curlpp/files/curlpp-0.8.1-cmake_minimum.patch (limited to 'dev-cpp/curlpp/files') 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 -- cgit v1.2.3