Imported Upstream version 2.8.12.2
[platform/upstream/cmake.git] / Source / cmComputeTargetDepends.cxx
index 8fd95b9..0829add 100644 (file)
@@ -282,6 +282,8 @@ void cmComputeTargetDepends::AddInterfaceDepends(int depender_index,
       if(emitted.insert(*lib).second)
         {
         this->AddTargetDepend(depender_index, lib->c_str(), true);
+        this->AddInterfaceDepends(depender_index, lib->c_str(),
+                                  true, emitted);
         }
       }
     }