summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-03 20:02:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-03 20:02:49 (GMT)
commit479932fa32115b666be1deea42862673a0c4b608 (patch)
tree7846a7a2f661fa93df1c5e728510fb799a18b69e /Source
parent925e4270fdc5c731c123cb8037607840008f4713 (diff)
downloadCMake-479932fa32115b666be1deea42862673a0c4b608.zip
CMake-479932fa32115b666be1deea42862673a0c4b608.tar.gz
CMake-479932fa32115b666be1deea42862673a0c4b608.tar.bz2
cmTarget: Add comment clarifying interface library special case
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 07f07c1..3289a84 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -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;