mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
fix more issues reported by clang-tidy
This commit is contained in:
committed by
Brad King
parent
fb461cacba
commit
effa6c8343
@@ -75,7 +75,7 @@ private:
|
||||
}
|
||||
|
||||
// Support "LOCATION_<CONFIG>".
|
||||
else if (cmHasLiteralPrefix(prop, "LOCATION_")) {
|
||||
if (cmHasLiteralPrefix(prop, "LOCATION_")) {
|
||||
if (!tgt->IsImported() &&
|
||||
!HandleLocationPropertyPolicy(tgt->GetName(), messenger,
|
||||
context)) {
|
||||
@@ -86,8 +86,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() &&
|
||||
|
||||
Reference in New Issue
Block a user