summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-20 13:40:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-20 13:40:14 (GMT)
commitc1edede31f4e979826a5fc0f6e56b1b59cb00f21 (patch)
tree11ca8f038a7e363ebd7b218d5cf753fae4b1cd4d /Source/cmLocalGenerator.cxx
parent8897116df8e8a6576f2736b96b8e0d529c26139e (diff)
parente0890d03a48d12904ffe24aa94fb2847d8d5f4e7 (diff)
downloadCMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.zip
CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.gz
CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.bz2
Merge topic 'compile-features-C-language'
e0890d03 Features: Extend concept to C language.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 7028da0..a6ad714 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2201,6 +2201,10 @@ AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
// Maintain sorted order, most recent first.
langStdMap["CXX"].push_back("11");
langStdMap["CXX"].push_back("98");
+
+ langStdMap["C"].push_back("11");
+ langStdMap["C"].push_back("99");
+ langStdMap["C"].push_back("90");
}
std::string standard(standardProp);