sdbus-cpp{,_2}: fix cmake flags

This commit is contained in:
etwas
2025-09-30 20:30:13 +02:00
parent 39d379c9a8
commit 558b212024
@@ -35,7 +35,9 @@ let
];
cmakeFlags = [
(lib.cmakeBool "BUILD_CODE_GEN" true)
(lib.cmakeBool (
if lib.versionOlder finalAttrs.version "2.0.0" then "BUILD_CODE_GEN" else "SDBUSCPP_BUILD_CODEGEN"
) true)
];
meta = {