Skip to content

Commit

Permalink
Support nested condition syntax for named conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia committed Jul 6, 2024
1 parent dabffea commit 15ad1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 15ad1dc

Please sign in to comment.