summaryrefslogtreecommitdiff
path: root/Source/cmLinkDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-09-24 11:56:57 -0400
committerBrad King <brad.king@kitware.com>2021-09-28 10:53:54 -0400
commit37859e32442bb433af9876963c92594d05fb64b3 (patch)
tree6c69acba03ce9224a4bca7bd9d5a1940aa432e47 /Source/cmLinkDirectoriesCommand.cxx
parent907d098838c99ee6c0c72ae0cdf1cc53dbf51ba2 (diff)
downloadcmake-37859e32442bb433af9876963c92594d05fb64b3.tar.gz
Source: Fix clang -Wimplicit-fallthrough warnings
Diffstat (limited to 'Source/cmLinkDirectoriesCommand.cxx')
-rw-r--r--Source/cmLinkDirectoriesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLinkDirectoriesCommand.cxx b/Source/cmLinkDirectoriesCommand.cxx
index 29140462a9..1ec071b757 100644
--- a/Source/cmLinkDirectoriesCommand.cxx
+++ b/Source/cmLinkDirectoriesCommand.cxx
@@ -62,7 +62,7 @@ static void AddLinkDir(cmMakefile& mf, std::string const& dir,
case cmPolicies::WARN:
e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0015);
mf.IssueMessage(MessageType::AUTHOR_WARNING, e.str());
- break;
+ CM_FALLTHROUGH;
case cmPolicies::OLD:
// OLD behavior does not convert
break;