diff options
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 3fd75a5..a562f25 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -606,6 +606,11 @@ cmTarget::AnalyzeLibDependencies( const cmMakefile& mf ) // The dependency map. DependencyMap dep_map; + if ( m_OriginalLinkLibraries.size() == 0 ) + { + m_OriginalLinkLibraries = m_LinkLibraries; + } + // 1. Build the dependency graph // for(LinkLibraries::reverse_iterator lib = m_LinkLibraries.rbegin(); |