summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-09-24 15:56:57 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-28 14:53:54 (GMT)
commit37859e32442bb433af9876963c92594d05fb64b3 (patch)
tree6c69acba03ce9224a4bca7bd9d5a1940aa432e47 /Source/cmGlobalGenerator.cxx
parent907d098838c99ee6c0c72ae0cdf1cc53dbf51ba2 (diff)
downloadCMake-37859e32442bb433af9876963c92594d05fb64b3.zip
CMake-37859e32442bb433af9876963c92594d05fb64b3.tar.gz
CMake-37859e32442bb433af9876963c92594d05fb64b3.tar.bz2
Source: Fix clang -Wimplicit-fallthrough warnings
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 981308e..6dabf63 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -965,6 +965,7 @@ void cmGlobalGenerator::CheckCompilerIdCompatibility(
mf->IssueMessage(
MessageType::FATAL_ERROR,
cmPolicies::GetRequiredPolicyError(cmPolicies::CMP0025));
+ break;
case cmPolicies::NEW:
// NEW behavior is to keep AppleClang.
break;
@@ -1031,6 +1032,7 @@ void cmGlobalGenerator::CheckCompilerIdCompatibility(
mf->IssueMessage(
MessageType::FATAL_ERROR,
cmPolicies::GetRequiredPolicyError(cmPolicies::CMP0089));
+ break;
case cmPolicies::NEW:
// NEW behavior is to keep AppleClang.
break;