summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-10-17 14:28:48 -0400
committerKyle Edwards <kyle.edwards@kitware.com>2022-10-19 14:51:21 -0400
commitb4e8ddbc2fb2c8f40b40502cc4a79c79bcec5386 (patch)
tree2c2eb8c8525a7e58dd086cfe10fd25af8354f2d2 /Source/cmGeneratorTarget.cxx
parent43481a77f9eaffa4b15a24fa22e82201bf8cc210 (diff)
downloadcmake-b4e8ddbc2fb2c8f40b40502cc4a79c79bcec5386.tar.gz
clang-tidy: enable cmStrLen() check and fix violations
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 6195d1ff07..321122aed0 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -5532,7 +5532,7 @@ cmGeneratorTarget::GetTargetSourceFileFlags(const cmSourceFile* sf) const
} else if (cmHasLiteralPrefix(*location, "Resources/")) {
flags.Type = cmGeneratorTarget::SourceFileTypeDeepResource;
if (stripResources) {
- flags.MacFolder += strlen("Resources/");
+ flags.MacFolder += cmStrLen("Resources/");
}
} else {
flags.Type = cmGeneratorTarget::SourceFileTypeMacContent;