Debian Codegraph @

debian/patches/cmake4

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