[PATCH] Specify CMake policy range to avoid deprecation warning
authorCraig Scott <craig.scott@crascit.com>
Wed, 16 Aug 2023 05:55:44 +0000 (15:55 +1000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 3 Oct 2025 15:35:05 +0000 (17:35 +0200)
commitdb0c64fabd7e911d22267848330ee8d1bad2d22f
tree0f90e2d313e46105be9b390a1cdbf03c9e6964db
parent0c3e7263fd6e65322a696b4b575f78c4e169736a
[PATCH] Specify CMake policy range to avoid deprecation warning

CMake 3.27 started issuing a deprecation warning for any
cmake_minimum_required() call that specified a minimum
version older than 3.5. Specifying a version range instead of
a simple minimum version avoids that warning without
raising the minimum supported CMake version. The NEW
policy behavior will be used for all policies introduced up to
CMake 3.14 with this change.

Gbp-Pq: Name 1211.patch
CMakeLists.txt