>From 3ccb14fff7886a7c854d8ff949b39919cb60a61c Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Fri, 26 Sep 2025 16:16:55 +0100
Subject: [PATCH] d/rules: Declare compatibility with modern CMake versions

Closes: #1113125
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 1cb02ee..a79d634 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 override_dh_auto_configure:
 	dh_auto_configure --  \
+	    -DCMAKE_POLICY_VERSION_MINIMUM=3.31 \
 	    -DCCD_DOUBLE:BOOL=True
 
 # Avoid to run the legacy autotools files and use cmake
-- 
2.51.0

