dev-cpp/xsimd: require cmake >= 3.8

Closes: https://bugs.gentoo.org/957422
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-07-08 08:26:43 +02:00
parent f798f444d2
commit e496ba2bba
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
2 changed files with 23 additions and 0 deletions

View File

@ -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)

View File

@ -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() {