summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-03 18:53:35 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-03 18:53:35 (GMT)
commit925e4270fdc5c731c123cb8037607840008f4713 (patch)
tree0ff5da6685918b7f212286e4aaa581a191856393
parent60d80bca4afcfb3a38b588a5a2060cc275b4afbc (diff)
downloadCMake-925e4270fdc5c731c123cb8037607840008f4713.zip
CMake-925e4270fdc5c731c123cb8037607840008f4713.tar.gz
CMake-925e4270fdc5c731c123cb8037607840008f4713.tar.bz2
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.
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 25ae339..07f07c1 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;
}