mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 20:40:34 -09:00
Fixes: CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. We didn't submit the patch upstream, because contrary to cppcms, cppdb seems completely dead. Last commit is from 2012 at https://sourceforge.net/p/cppcms/code/HEAD/tree/cppdb/. There are no known autobuilder failures for this issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
25 lines
652 B
Diff
25 lines
652 B
Diff
From 27003c60a05dd3921538323a53b1650e289cba8c Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
Date: Wed, 17 Dec 2025 22:27:33 +0100
|
|
Subject: [PATCH] CMakeLists.txt: fix compatibility with CMake 4
|
|
|
|
Upstream: N/A, dead upstream
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 5e81b09..32ff3a6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-cmake_minimum_required(VERSION 2.6)
|
|
+cmake_minimum_required(VERSION 3.5)
|
|
project(cppdb)
|
|
|
|
set(CPPDB_MAJOR 0)
|
|
--
|
|
2.52.0
|
|
|