On Wed, Apr 23, 2025 at 3:49 PM Timo Röhling <roehl...@debian.org> wrote: > I have rebuilt the ~3000 packages which build-depend on CMake with > debusine (thanks to Freexian for this helpful service and Stefano Rivera > for his debusine-rebuilds tool) and discovered 936 affected packages; > the dd-list is attached. > > If you want to fix your package, there are two options: > > 1) Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to dh_auto_configure, which > will override any CMakeLists.txt settings. This is the minimally > invasive procedure, no patching required. See also [1]. > … > [1] > https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
Could we have debhelper do this by default for buildsystem=cmake (and cmake+ninja)? It feels like it would be so much nicer to update 1 package instead of more than 900. Thank you, Jeremy Bícha