swanmon: adjust for cmake 4.x compatibility
authorHannu Nyman <[email protected]>
Sun, 9 Nov 2025 17:45:18 +0000 (19:45 +0200)
committerHannu Nyman <[email protected]>
Sun, 9 Nov 2025 20:09:58 +0000 (22:09 +0200)
Adjust for cmake 4.x compatibility

Signed-off-by: Hannu Nyman <[email protected]>
utils/swanmon/Makefile
utils/swanmon/patches/001-cmake4.patch [new file with mode: 0644]

index c523ae634e0a487ec74a153931bf80071d2237ac..d788c23c4e74e9915c507da7d774b249608fe09a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swanmon
 PKG_VERSION:=0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/TDT-AG/swanmon
diff --git a/utils/swanmon/patches/001-cmake4.patch b/utils/swanmon/patches/001-cmake4.patch
new file mode 100644 (file)
index 0000000..bb0931d
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
+ PROJECT(swanmon C)