summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-26 15:55:15 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-27 11:40:54 (GMT)
commit7fe580a36253281784dda9c35798693350e24859 (patch)
treeed860d357022a6c8db6f1daead9e27e7970ec1b9 /Source/cmLocalGenerator.cxx
parent1b328e09a33e61293635c7ddb9bcff986ae8d1e7 (diff)
downloadCMake-7fe580a36253281784dda9c35798693350e24859.zip
CMake-7fe580a36253281784dda9c35798693350e24859.tar.gz
CMake-7fe580a36253281784dda9c35798693350e24859.tar.bz2
Features: Add infrastructure for C++ 20 language standard
Issue: #17849
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index cee540b..dde29f6 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1564,6 +1564,7 @@ void cmLocalGenerator::AddCompilerRequirementFlag(
static std::map<std::string, std::vector<std::string>> langStdMap;
if (langStdMap.empty()) {
// Maintain sorted order, most recent first.
+ langStdMap["CXX"].push_back("20");
langStdMap["CXX"].push_back("17");
langStdMap["CXX"].push_back("14");
langStdMap["CXX"].push_back("11");