https://bugs.kde.org/show_bug.cgi?id=504518
Christophe Marin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version Fixed In| |6.17.0 Status|REPORTED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/extra-cmake-modules/ | |-/commit/972be57827edd88af9 | |7dc740eb55dd19ce1f85e8 --- Comment #1 from Christophe Marin <[email protected]> --- Git commit 972be57827edd88af97dc740eb55dd19ce1f85e8 by Christophe Marin, on behalf of Heiko Becker. Committed on 01/08/2025 at 08:03. Pushed by krop into branch 'master'. ECMSetupVersion: Adapt to the removal of CMP0048 with cmake 4.0 **Move ECMGeneratePkgConfigFiles's tests to separate projects** With cmake >=4.0 CMP0048 doesn't exist anymore and ECMSetupVersion doesn't set PROJECT_VERSION* anymore. Script mode doesn't allow to set project, so move the tests from run_test.cmake to separate projects. **ECMSetupVersion: Adapt to the removal of CMP0048 with cmake 4.0** Because the policy was removed and thus can't be set anymore, it doesn't make sense to test the old behaviour, so just skip these tests. This is another piece to make the tests run successfully with CMake >= 4.0.0-rc1. FIXED-IN: 6.17.0 M +2 -1 modules/ECMGeneratePkgConfigFile.cmake M +15 -8 modules/ECMSetupVersion.cmake M +16 -5 tests/ECMGeneratePkgConfigFile/CMakeLists.txt A +28 -0 tests/ECMGeneratePkgConfigFile/custom_defines/CMakeLists.txt A +29 -0 tests/ECMGeneratePkgConfigFile/no_description_parameter_metainfo_with_description-param/CMakeLists.txt A +29 -0 tests/ECMGeneratePkgConfigFile/no_description_parameter_metainfo_with_empty_description/CMakeLists.txt A +29 -0 tests/ECMGeneratePkgConfigFile/no_description_parameter_metainfo_without_description/CMakeLists.txt A +24 -0 tests/ECMGeneratePkgConfigFile/no_optional_arguments/CMakeLists.txt D +0 -161 tests/ECMGeneratePkgConfigFile/run_test.cmake.config A +32 -0 tests/ECMGeneratePkgConfigFile/test-and-comparison-helpers.cmake A +26 -0 tests/ECMGeneratePkgConfigFile/with_an_URL_parameter/CMakeLists.txt A +29 -0 tests/ECMGeneratePkgConfigFile/with_public_and_private_dependencies/CMakeLists.txt M +14 -10 tests/ECMSetupVersionTest/CMakeLists.txt https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/972be57827edd88af97dc740eb55dd19ce1f85e8 -- You are receiving this mail because: You are watching all bug changes.
