gentoo-ebuilds/sci-libs/levmar/files/levmar-2.6-cmake4.patch
Andreas Sturmlechner 3974e705f7
sci-libs/levmar: update EAPI 7 -> 8, fix build w/ cmake-4
Closes: https://bugs.gentoo.org/962048
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-09-01 18:28:38 +02:00

26 lines
781 B
Diff

From 1f62addb14438d89c60ebbf28985d46d30520a47 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 31 Aug 2025 23:17:51 +0200
Subject: [PATCH] Fix build w/ cmake-4
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d138776..ad6b968 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
# levmar CMake file; see http://www.cmake.org and
# http://www.insightsoftwareconsortium.org/wiki/index.php/CMake_Tutorial
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
PROJECT(LEVMAR)
SET(HAVE_LAPACK 1 CACHE BOOL "Do we have LAPACK/BLAS?")
--
2.51.0