mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
cmTarget: Add comment clarifying interface library special case
This commit is contained in:
@@ -289,6 +289,8 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
|
||||
ci != configNames.end(); ++ci) {
|
||||
std::string configUpper = cmSystemTools::UpperCase(*ci);
|
||||
for (const char** p = configProps; *p; ++p) {
|
||||
// Interface libraries have no output locations, so honor only
|
||||
// the configuration map.
|
||||
if (this->TargetTypeValue == cmStateEnums::INTERFACE_LIBRARY &&
|
||||
strcmp(*p, "MAP_IMPORTED_CONFIG_") != 0) {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user