Browse Source

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

0ad2a1c Export: Never treat private link libraries as public package dependencies.
Brad King 12 năm trước cách đây
mục cha
commit
b38425fa4b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Source/cmExportFileGenerator.cxx

+ 2 - 1
Source/cmExportFileGenerator.cxx

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