summaryrefslogtreecommitdiff
path: root/nix/cmake-version.patch
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2024-09-10 12:06:37 +0200
committerGitHub <noreply@github.com>2024-09-10 11:06:37 +0100
commitc67b257e51133a2aaeec050fc4d283e2eaea6375 (patch)
tree987e50002de7b85bd67afd095618e1c1ef19164b /nix/cmake-version.patch
parent8237d7e1a4994f70636b2e91584775308f24a584 (diff)
build: Set cmake_minimum_required to version 3.30 (#7709)
* build: Set cmake_minimum_required to version 3.30 * Nix: add patch for CMake min ver --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'nix/cmake-version.patch')
-rw-r--r--nix/cmake-version.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/cmake-version.patch b/nix/cmake-version.patch
new file mode 100644
index 00000000..ccc9c738
--- /dev/null
+++ b/nix/cmake-version.patch
@@ -0,0 +1,10 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6fdf98db..d8424d91 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.30)
++cmake_minimum_required(VERSION 3.27)
+
+ # Get version
+ file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW)