Support nested condition syntax for named conditions

main
Duncan Ogilvie 5 months ago
parent dabffeaed9
commit 15ad1dc6a7

@ -577,7 +577,7 @@ struct Generator {
} }
cmd("if", "NOTE: unnamed condition")(RawArg(cmake_condition(condition))); cmd("if", "NOTE: unnamed condition")(RawArg(cmake_condition(condition)));
} else { } else {
cmd("if", condition)(RawArg(found->second)); cmd("if", condition)(RawArg(cmake_condition(found->second)));
} }
return true; return true;
} }

Loading…
Cancel
Save