ledger: fix cmake 4 compatibility

This commit is contained in:
Gaetan Lepage
2025-10-08 08:58:26 +00:00
parent b81a0d71cb
commit 13a7680502

View File

@@ -99,6 +99,10 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "BUILD_DOCS" true)
(lib.cmakeBool "USE_PYTHON" usePython)
(lib.cmakeBool "USE_GPGME" gpgmeSupport)
# CMake 4 dropped support of versions lower than 3.5, and versions
# lower than 3.10 are deprecated.
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
installTargets = [