Files
nixpkgs/pkgs/by-name/op/opencollada-blender/cmake4-compat.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

27 lines
927 B
Diff

From f036950f1ccc3ebdfe2fdc0a52d35a4620252901 Mon Sep 17 00:00:00 2001
From: Grimmauld <Grimmauld@grimmauld.de>
Date: Sat, 27 Sep 2025 11:43:21 +0200
Subject: [PATCH] Build: update cmake minimum version to 3.10
cmake ABI compatibility with cmake <3.5 has been removed in cmake 4.
Compatibility with cmake <3.10 is deprecated and soon to be removed.
Thus set 3.10 minimum version. This is available in the vast majority
of current linux distributions, as well as other platforms.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95abbe213..2d14b2552 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
endif()
endif()
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.10)
#-----------------------------------------------------------------------------