summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-14 13:48:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-06-14 13:49:22 (GMT)
commit6b218d2e267c271000103bfeeca319cab8a90e3e (patch)
treec87fab1d844ac5bb33370f67deda641043d46152 /Source
parent13b40c1ea2bfd35eb81def5c91480b306a22504a (diff)
parente8dc95ae1ec0f0ded781b7b36f3117e499502273 (diff)
downloadCMake-6b218d2e267c271000103bfeeca319cab8a90e3e.zip
CMake-6b218d2e267c271000103bfeeca319cab8a90e3e.tar.gz
CMake-6b218d2e267c271000103bfeeca319cab8a90e3e.tar.bz2
Merge topic 'objc-std-17-23'
e8dc95ae1e ObjectiveC: Add C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6219
Diffstat (limited to 'Source')
-rw-r--r--Source/cmStandardLevelResolver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmStandardLevelResolver.cxx b/Source/cmStandardLevelResolver.cxx
index 73d0fed..37ed4c1 100644
--- a/Source/cmStandardLevelResolver.cxx
+++ b/Source/cmStandardLevelResolver.cxx
@@ -322,8 +322,9 @@ std::unordered_map<std::string, StanardLevelComputer> StandardComputerMapping =
"CUDA", std::vector<int>{ 03, 11, 14, 17, 20, 23 },
std::vector<std::string>{ "03", "11", "14", "17", "20", "23" } } },
{ "OBJC",
- StanardLevelComputer{ "OBJC", std::vector<int>{ 90, 99, 11 },
- std::vector<std::string>{ "90", "99", "11" } } },
+ StanardLevelComputer{
+ "OBJC", std::vector<int>{ 90, 99, 11, 17, 23 },
+ std::vector<std::string>{ "90", "99", "11", "17", "23" } } },
{ "OBJCXX",
StanardLevelComputer{
"OBJCXX", std::vector<int>{ 98, 11, 14, 17, 20, 23 },