tags 1113051 patch
thanks

The only problem appears to be that CMake 4 by default requires `CMakeLists.txt` to declare a higher minimum version. If that requirement is relaxed, the build succeeds and the resulting package seems to work as expected.

The attached patch to the `debian/rules` file fixes this problem.
diff --git a/debian/rules b/debian/rules
index f4a92f2..10b3647 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
        dh $@  --buildsystem cmake
 
 override_dh_auto_configure:
-       dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release
+       dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 override_dh_installsystemd:
        cp -f udevmon.service debian/interception-tools.udevmon.service

Attachment: signature.asc
Description: PGP signature

Reply via email to