Add a command line parameter to tell CE that it's being called from VCPKG.EXE
(or something else would be ok -- just add a double-dash style switch at the end of the whole command `--whatever`)
MODIFY
src/vcpkg/configure-environment.cpp
src/vcpkg/configure-environment.cpp
@@ -63,6 +63,8 @@ namespace vcpkg
cmd_run.string_arg("--accept-eula");
cmd_run.string_arg(arg0);
cmd_run.forwarded_args(args);
+ // tell vcpkg-ce that it's being called from vcpkg
+ cmd_run.string_arg("--from-vcpkg");
return cmd_execute(cmd_run, InWorkingDirectory{paths.original_cwd});
}
}

Add a command line parameter to tell CE that it's being called from VCPKG.EXE (#280)

(or something else would be ok -- just add a double-dash style switch at the end of the whole command `--whatever`)