Import project: Fix standard

This commit is contained in:
Daniel Marjamäki 2020-05-31 21:37:02 +02:00
parent f367313cac
commit 9772770226
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ void ImportProject::importVcxproj(const std::string &filename, std::map<std::str
else if (i.cppstd == Standards::CPP14) else if (i.cppstd == Standards::CPP14)
fs.standard = "c++14"; fs.standard = "c++14";
else if (i.cppstd == Standards::CPP17) else if (i.cppstd == Standards::CPP17)
fs.standard = "c++14"; fs.standard = "c++17";
else if (i.cppstd == Standards::CPP20) else if (i.cppstd == Standards::CPP20)
fs.standard = "c++20"; fs.standard = "c++20";
fs.defines += ';' + i.preprocessorDefinitions; fs.defines += ';' + i.preprocessorDefinitions;