diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-10-18 22:37:21 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-10-18 22:50:27 +0200 |
| commit | 22bada08f4464f5fe2adb9c29595f499392d33eb (patch) | |
| tree | 61fd5fe49f7d25c56516afd03599e29d92dfecec /dev-cpp/robin-map/files | |
| parent | 8e8f41faf426b40aa673babf79310d8b622f010e (diff) | |
| download | gentoo-22bada08f4464f5fe2adb9c29595f499392d33eb.tar.gz gentoo-22bada08f4464f5fe2adb9c29595f499392d33eb.tar.bz2 gentoo-22bada08f4464f5fe2adb9c29595f499392d33eb.zip | |
dev-cpp/robin-map: Fix CMake < 3.10 warning
Closes: https://bugs.gentoo.org/964543
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-cpp/robin-map/files')
| -rw-r--r-- | dev-cpp/robin-map/files/robin-map-1.4.0-cmake-minreqver-3.10.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-cpp/robin-map/files/robin-map-1.4.0-cmake-minreqver-3.10.patch b/dev-cpp/robin-map/files/robin-map-1.4.0-cmake-minreqver-3.10.patch new file mode 100644 index 000000000000..679c573aa667 --- /dev/null +++ b/dev-cpp/robin-map/files/robin-map-1.4.0-cmake-minreqver-3.10.patch @@ -0,0 +1,48 @@ +Source: https://github.com/Tessil/robin-map/pull/89 + +From 0f85726168ebd32bf169de269df245121506748c Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sat, 18 Oct 2025 22:28:16 +0200 +Subject: [PATCH] Raise CMake minimum version to 3.10..3.31 range + +CMake 3.10 was released in 2017. + +Amends 1115dad3ffa0994e3f43b693d9b9cc99944c64c1, fixes warning since CMake-3.31: + +CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): +Compatibility with CMake < 3.10 will be removed from a future version of +CMake. + +Update the VERSION argument value. Or, use the ... syntax +to tell CMake that the project requires at least but has been updated +to work with policies introduced by or earlier. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 2 +- + tests/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index be1a3ff..c08cc6f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.10..3.31) + + project(tsl-robin-map VERSION 1.4.0 LANGUAGES CXX) + +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 6d3bbcd..dac2039 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.8) ++cmake_minimum_required(VERSION 3.10..3.31) + + project(tsl_robin_map_tests) + +-- +2.51.1 + |
