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());