mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-16 18:17:15 +02:00
Add the required version declaration in CMakeLists.txt to resolve build
error with cmake >= 4. 3.10 is a currently supported version that
works with the existing build files.
```
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 4.1)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
```
10 lines
368 B
Diff
10 lines
368 B
Diff
diff -ruN a/CMakeLists.txt b/CMakeLists.txt
|
|
--- a/CMakeLists.txt 2007-05-30 17:55:02.000000000 +0000
|
|
+++ b/CMakeLists.txt 2025-10-20 04:44:19.510000000 +0000
|
|
@@ -1,3 +1,5 @@
|
|
+cmake_minimum_required(VERSION 3.10)
|
|
+
|
|
PROJECT (cdrkit C)
|
|
SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit)
|
|
|