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:13:04 +01:00
commit 76c08dcbfd
3 changed files with 44 additions and 1 deletions

View file

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