windows build fixes
Some checks failed
demo.yaml / windows build fixes (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-01 16:19:35 +01:00
commit 1091890bf2

View file

@ -132,7 +132,7 @@ namespace Crafter {
std::cout << stdPcm << std::endl;
std::cout << stdcppm << std::endl;
std::string directoryPath = RunCommand("C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe -latest -property installationPath") + "\\VC\\Tools";
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") + "\\VC\\Tools";
std::cout << directoryPath << std::endl;
@ -176,7 +176,7 @@ namespace Crafter {
}
void AutoDetect() {
std::string directoryPath = RunCommand("C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe -latest -property installationPath") + "\\VC\\Tools";
std::string directoryPath = RunCommand("\"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe\" -latest -property installationPath") + "\\VC\\Tools";
std::cout << directoryPath << std::endl;