Merge topic 'private-link-depends-are-package-private'

0ad2a1c Export: Never treat private link libraries as public package dependencies.
This commit is contained in:
Brad King 2013-10-07 15:44:59 -04:00 committed by CMake Topic Stage
commit b38425fa4b
1 changed files with 2 additions and 1 deletions

View File

@ -736,9 +736,10 @@ cmExportFileGenerator
"IMPORTED_LINK_INTERFACE_LANGUAGES", "IMPORTED_LINK_INTERFACE_LANGUAGES",
iface->Languages, properties, missingTargets); iface->Languages, properties, missingTargets);
std::vector<std::string> dummy;
this->SetImportLinkProperty(suffix, target, this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_DEPENDENT_LIBRARIES", "IMPORTED_LINK_DEPENDENT_LIBRARIES",
iface->SharedDeps, properties, missingTargets); iface->SharedDeps, properties, dummy);
if(iface->Multiplicity > 0) if(iface->Multiplicity > 0)
{ {
std::string prop = "IMPORTED_LINK_INTERFACE_MULTIPLICITY"; std::string prop = "IMPORTED_LINK_INTERFACE_MULTIPLICITY";