From 1700d8cfc61610f94293934a8910ac8d39a8cec3 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 1 Mar 2026 19:50:45 +0100 Subject: [PATCH] windows build fix --- implementations/Crafter.Build-Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations/Crafter.Build-Module.cpp b/implementations/Crafter.Build-Module.cpp index 9bbb3dd..d2bbf87 100644 --- a/implementations/Crafter.Build-Module.cpp +++ b/implementations/Crafter.Build-Module.cpp @@ -71,7 +71,7 @@ namespace Crafter { result += RunClang(std::format("{} {}.cppm --precompile -o {}.pcm", clang, path.string(), (pcmDir/path.filename()).string())); #endif #if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32) - result += RunClang(std::format("cd {} && {} && {}.cppm --precompile -o {}.pcm", clang, pcmDir.string(), path.string(), path.filename().string())); + result += RunClang(std::format("cd {} && {} && {}.cppm --precompile -o {}.pcm", pcmDir.string(), clang, path.string(), path.filename().string())); #endif result += RunClang(std::format("{} {}.pcm -c -o {}.o", clang, (pcmDir/path.filename()).string(), (buildDir/path.filename()).string()));