summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-03 19:24:31 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-03 19:24:31 (GMT)
commitbc4e5581ee62d0826625bf1344c3bad7f8711dbc (patch)
treedfd717c95e59bbac822e81cbadece640123069a2 /Source/cmTarget.cxx
parent93c95f1cc5207d043b4bfaa617a611d1dffc7016 (diff)
downloadCMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.zip
CMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.tar.gz
CMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.tar.bz2
ENH: Add support for exporting graphviz of the project dependencies
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx5
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();