Support nested condition syntax for named conditions

main
Duncan Ogilvie 6 months ago
parent dabffeaed9
commit 15ad1dc6a7

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

Loading…
Cancel
Save