1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 03:48:02 +08:00

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.
This commit is contained in:
Brad King
2016-11-03 14:53:35 -04:00
parent 60d80bca4a
commit 925e4270fd

View File

@@ -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;
}