fixed mingw
Some checks failed
demo.yaml / fixed mingw (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-04-02 16:53:07 +02:00
commit 2d89528bdf
5 changed files with 51 additions and 35 deletions

View file

@ -94,6 +94,13 @@ namespace Crafter {
} else {
march = "native";
}
if(config.contains("mtune")) {
mtune = config["mtune"].get<std::string>();
} else if(config.contains("march")) {
mtune = march;
} else {
mtune = "native";
}
if(config.contains("libs")) {
for (auto it : config["libs"]) {
libs.push_back(it.get<std::string>());