summaryrefslogtreecommitdiff
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-03 14:53:35 -0400
committerBrad King <brad.king@kitware.com>2016-11-03 14:53:35 -0400
commit925e4270fdc5c731c123cb8037607840008f4713 (patch)
tree0ff5da6685918b7f212286e4aaa581a191856393 /Source/cmTarget.cxx
parent60d80bca4afcfb3a38b588a5a2060cc275b4afbc (diff)
downloadcmake-925e4270fdc5c731c123cb8037607840008f4713.tar.gz
cmTarget: Clarify comments in GetMappedConfig
Clarify comments explaining the availability of a target location (file on disk) to distinguish this from the existence of the target.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 25ae3398af..07f07c153e 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1438,8 +1438,8 @@ bool cmTarget::GetMappedConfig(std::string const& desired_config,
}
// If we needed to find one of the mapped configurations but did not
- // then the target is not found. The project does not want any
- // other configuration.
+ // then the target location is not found. The project does not want
+ // any other configuration.
if (!mappedConfigs.empty() && !*loc && !*imp) {
return false;
}
@@ -1493,7 +1493,7 @@ bool cmTarget::GetMappedConfig(std::string const& desired_config,
}
}
}
- // If we have not yet found it then the target is not available.
+ // If we have not yet found it then the target location is not available.
if (!*loc && !*imp) {
return false;
}