1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Wed, 24 Sep 2025 21:55:09 +0200
Subject: Bump CMake policy version
---
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index b15f3de..2eb4912 100644
--- a/setup.py
+++ b/setup.py
@@ -168,7 +168,8 @@ class build_ext(build_ext_orig):
"-Duse_builtin_httpapi:bool=ON ", # Should we use libcurl in the system or light one?
"-Dskip_samples:bool=ON", # Don't compile uAMQP samples binaries
"-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE", # ask for -fPIC
- "-DCMAKE_BUILD_TYPE=Release"
+ "-DCMAKE_BUILD_TYPE=Release",
+ "-DCMAKE_POLICY_VERSION_MINIMUM=3.10",
]
joined_cmd = " ".join(configure_command)
|