mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/cdrkit: add patch to fix CMake 4.0 build issue
CMake 4.0 requires to have a cmake_minimum_required() in CMakeLists.txt, which cdrkit doesn't have, so ths commit adds a patch adding the missing statement. We have chosen version 3.18 because that the oldest version that we expect is 3.18. From package/cmake/Config.in.host: # The minimum system cmake version we expect if 3.18 as provided by # Debian bullseye, that we use in our reference build docker image. The patch cannot be upstreamed, as cdrkit basically no longer has any upstream. Fixes: https://autobuild.buildroot.org/results/3412e47836b54928a55c12b46549d6307ab623e7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
981e3686fc
commit
0d4ca3c5fe
@@ -0,0 +1,25 @@
|
|||||||
|
From 055130476b2ae349ab00b5cc5958d02da2fc2983 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||||
|
Date: Fri, 16 May 2025 16:12:03 +0200
|
||||||
|
Subject: [PATCH] CMakeLists.txt: add cmake_minimum_required()
|
||||||
|
|
||||||
|
Using cmake_minimum_required() is now mandatory with CMake 4.0.
|
||||||
|
|
||||||
|
Upstream: N/A, no clear upstream
|
||||||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 57edba6..70c6993 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+cmake_minimum_required(VERSION 3.18)
|
||||||
|
PROJECT (cdrkit C)
|
||||||
|
SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.49.0
|
||||||
|
|
||||||
Reference in New Issue
Block a user