Package: extra-cmake-modules Tags: patch, fixed-upstream Severity: important X-Debbugs-CC: c...@istoph.de
Please backport https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/431 Since cmake 3.29 entered sid, 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 builds fails as the meson cmake compat code always sets cmake_minimum_required to the current cmake version and thus CMP0160 is alway set to NEW which makes the code generated before the fix an hard error. For example the package chr now no longer builds in sid because of this (in combination with ksyntax-highlighting). -- Configuring incomplete, errors occurred! ERR: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingQchTargets.cmake:6 (set_target_properties): IMPORTED property is read-only for target("KF5SyntaxHighlighting_QCH") Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingConfig.cmake:42 (include) CMakeLists.txt:20 (find_package) (for a full log see https://salsa.debian.org/chr/chr/-/jobs/5651154 ) Regards, - Martin