windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-02 22:20:37 +01:00
commit 1311ece26f
2 changed files with 15 additions and 7 deletions

View file

@ -60,13 +60,7 @@ namespace Crafter {
if(config.contains("standard")) {
standard = config["standard"].get<std::string>();
} else {
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
standard = "c++26";
#endif
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
standard = "c++latest";
#endif
}
if(config.contains("target")) {
target = config["target"].get<std::string>();
} else {