Backport cmake 3.29 compatibility fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
extra-cmake-modules (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please backport
https:/
Since cmake 3.29 entered oracular-proposed, the files created by ECMAddQch.cmake and
shipped in -dev packages cause warnings or errors (with CMP0160 set
to NEW).
Furthermore when libraries that use ECMAddQch are consumed in packages
build using meson, the build fails as the meson cmake compat code
always sets cmake_minimum_
thus CMP0160 is always set to NEW which makes the code generated
before the fix an hard error.
Debian fixed this in #1069972 by updating to 6.1.0, but the linked upstream merge request also has a backport for the kf5 branch (also tagged as v5.116.0-rc1) if that is the preferred fix.
For example the package chr (newly synced in oracular-
this (in combination with ksyntax-
-- Configuring incomplete, errors occurred!
ERR:
CMake Error at /usr/lib/
IMPORTED property is read-only for target(
Call Stack (most recent call first):
/usr/
CMakeLists.txt:20 (find_package)
(for a full log see https:/
Regards,
- Martin
Status changed to 'Confirmed' because the bug affects multiple users.