From 8500180c509410ea3a7063614e0fd11a24ecba55 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 23 Feb 2026 03:21:14 +0100 Subject: [PATCH] windows build --- implementations/Crafter.Build-Project.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/implementations/Crafter.Build-Project.cpp b/implementations/Crafter.Build-Project.cpp index b2fd477..cb8c666 100644 --- a/implementations/Crafter.Build-Project.cpp +++ b/implementations/Crafter.Build-Project.cpp @@ -325,7 +325,7 @@ namespace Crafter { std::string msvcVersion = folders.front(); - std::string sourceFilePath = directoryPath + "\\" + latestVersionFolder + "\\modules\\std.ixx"; + std::string sourceFilePath = directoryPath + "\\" + msvcVersion + "\\modules\\std.ixx"; std::string destinationFilePath = ".\\build\\std.cppm"; // Copy the file @@ -334,7 +334,6 @@ namespace Crafter { std::cout << "File copied successfully!" << std::endl; } catch (const std::exception& e) { std::cerr << "Error copying file: " << e.what() << std::endl; - return 1; } #endif command += std::format(" -fprebuilt-module-path={} -fprebuilt-module-path={}", pcmDir.string(), exeDir.string());