Skip to content

Commit c1146b6

Browse files
committed
Use 'with-gui' ext variable to build sw gui.
1 parent 72bdb51 commit c1146b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void build(Solution &s)
291291
}
292292
}
293293

294-
if (client.getBuildSettings().TargetOS.Type != OSType::Windows)
294+
if (s.getExternalVariables()["with-gui"] != "true")
295295
return;
296296

297297
auto &gui = client.addTarget<ExecutableTarget>("gui");

0 commit comments

Comments
 (0)