This commit is contained in:
parent
e4e4e67cc0
commit
2d89528bdf
5 changed files with 51 additions and 35 deletions
|
|
@ -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>());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue