Jelajahi Sumber

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

0ad2a1c Export: Never treat private link libraries as public package dependencies.
Brad King 12 tahun lalu
induk
melakukan
b38425fa4b
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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";