add quotes to generator

self-hosting
MoAlyousef 4 years ago
parent 7ec2279a77
commit c1953bbb6f

@ -28,7 +28,7 @@ int run(int argc, char **argv) {
ss << "cmake -S. -B" << cmake.bin_dir << " ";
if (!cmake.generator.empty()) {
ss << "-G " << cmake.generator << " ";
ss << "-G \"" << cmake.generator << "\" ";
}
if (!cmake.gen_args.empty()) {
for (const auto &arg : cmake.gen_args) {

Loading…
Cancel
Save