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 17:32:19 +01:00
commit 332467a93b

View file

@ -73,9 +73,7 @@ namespace Crafter {
#endif #endif
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32) #if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
AutoDetect(); AutoDetect();
std::cout << clangClDir << std::endl; target = RunCommand(std::format("{} clang-cl.exe -print-target-triple", vsVars));
std::cout << std::format("\"{}\\clang-cl.exe\" -print-target-triple", clangClDir) << std::endl;
target = RunCommand(std::format("\"{}\\clang-cl.exe\" -print-target-triple", clangClDir));
#endif #endif
target.pop_back(); target.pop_back();
} }