summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropertyComputer.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-20 12:51:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-20 12:51:09 (GMT)
commita5f4463eedc31f6f552b7f7837212661349898df (patch)
tree201aa79bedda91071ee8710d1b2b3f69f3e19047 /Source/cmTargetPropertyComputer.h
parent92c3cab223845ca83533bba7b6d73f6180223935 (diff)
parenteffa6c8343fb871574cb5471de5eb4c1705dd334 (diff)
downloadCMake-a5f4463eedc31f6f552b7f7837212661349898df.zip
CMake-a5f4463eedc31f6f552b7f7837212661349898df.tar.gz
CMake-a5f4463eedc31f6f552b7f7837212661349898df.tar.bz2
Merge topic 'clang-tidy'
effa6c83 fix more issues reported by clang-tidy fb461cac silence selected clang-tidy violations
Diffstat (limited to 'Source/cmTargetPropertyComputer.h')
-rw-r--r--Source/cmTargetPropertyComputer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTargetPropertyComputer.h b/Source/cmTargetPropertyComputer.h
index 352d858..7989589 100644
--- a/Source/cmTargetPropertyComputer.h
+++ b/Source/cmTargetPropertyComputer.h
@@ -76,7 +76,7 @@ private:
}
// Support "LOCATION_<CONFIG>".
- else if (cmHasLiteralPrefix(prop, "LOCATION_")) {
+ if (cmHasLiteralPrefix(prop, "LOCATION_")) {
if (!tgt->IsImported() &&
!HandleLocationPropertyPolicy(tgt->GetName(), messenger,
context)) {
@@ -87,8 +87,8 @@ private:
}
// Support "<CONFIG>_LOCATION".
- else if (cmHasLiteralSuffix(prop, "_LOCATION") &&
- !cmHasLiteralPrefix(prop, "XCODE_ATTRIBUTE_")) {
+ if (cmHasLiteralSuffix(prop, "_LOCATION") &&
+ !cmHasLiteralPrefix(prop, "XCODE_ATTRIBUTE_")) {
std::string configName(prop.c_str(), prop.size() - 9);
if (configName != "IMPORTED") {
if (!tgt->IsImported() &&