From 479932fa32115b666be1deea42862673a0c4b608 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 3 Nov 2016 16:02:49 -0400 Subject: cmTarget: Add comment clarifying interface library special case --- Source/cmTarget.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v0.12