Skip to content

Commit 15ad1dc

Browse files
committed
Support nested condition syntax for named conditions
1 parent dabffea commit 15ad1dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmake_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ struct Generator {
577577
}
578578
cmd("if", "NOTE: unnamed condition")(RawArg(cmake_condition(condition)));
579579
} else {
580-
cmd("if", condition)(RawArg(found->second));
580+
cmd("if", condition)(RawArg(cmake_condition(found->second)));
581581
}
582582
return true;
583583
}

0 commit comments

Comments
 (0)