Merge topic 'private-link-depends-are-package-private'
0ad2a1c
Export: Never treat private link libraries as public package dependencies.
This commit is contained in:
commit
b38425fa4b
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue