diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch')
-rw-r--r-- | meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch b/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..bcab44a5a4 --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/files/0003-allow-build-with-cmake-4.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 4ce4c135f83f9d7894ccbb0901391f5cbf2b1935 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
3 | Date: Mon, 7 Jul 2025 21:34:32 +0300 | ||
4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
5 | compatibility | ||
6 | |||
7 | | CMake Error in CMakeLists.txt: | ||
8 | | No cmake_minimum_required command is present. A line of code such as | ||
9 | | | ||
10 | | cmake_minimum_required(VERSION 4.0) | ||
11 | | | ||
12 | | should be added at the top of the file. The version specified may be lower | ||
13 | | if you wish to support older CMake versions for this project. For more | ||
14 | | information run "cmake --help-policy CMP0000". | ||
15 | | | ||
16 | | | ||
17 | | -- Configuring incomplete, errors occurred! | ||
18 | |||
19 | Upstream-Status: Pending | ||
20 | |||
21 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
22 | --- | ||
23 | CMakeLists.txt | 1 + | ||
24 | 1 file changed, 1 insertion(+) | ||
25 | |||
26 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
27 | index 57edba6..bdfb8bb 100644 | ||
28 | --- a/CMakeLists.txt | ||
29 | +++ b/CMakeLists.txt | ||
30 | @@ -1,3 +1,4 @@ | ||
31 | +cmake_minimum_required(VERSION 3.5) | ||
32 | PROJECT (cdrkit C) | ||
33 | SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit) | ||
34 | |||
35 | -- | ||
36 | 2.43.0 | ||
37 | |||