summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch22
-rw-r--r--dev-cpp/xsimd/xsimd-13.2.0.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
new file mode 100644
index 000000000000..42adc96cf855
--- /dev/null
+++ b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
@@ -0,0 +1,22 @@
+--- a/benchmark/CMakeLists.txt 2025-07-08 08:23:10.926630364 +0200
++++ b/benchmark/CMakeLists.txt 2025-07-08 08:23:21.764513856 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+ project(xsimd-benchmark)
+--- a/examples/CMakeLists.txt 2025-07-08 08:23:32.134402377 +0200
++++ b/examples/CMakeLists.txt 2025-07-08 08:23:42.504290895 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+ project(xsimd-examples)
+
diff --git a/dev-cpp/xsimd/xsimd-13.2.0.ebuild b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
index bdf7e6be681b..c485908fa4f8 100644
--- a/dev-cpp/xsimd/xsimd-13.2.0.ebuild
+++ b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-11.1.0-c++17.patch
"${FILESDIR}"/${PN}-12.1.1-no-march.patch
+ "${FILESDIR}"/${P}-cmake.patch
)
python_check_deps() {