summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorNick Schultz <nickker22@gmail.com>2018-10-24 22:49:12 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-26 15:17:49 (GMT)
commit50c4dec07267c8678302b0c4cf0c89a5a02b1d6b (patch)
tree811948e5118a793f1c42f25dc4b2c8f4aa71cd19 /Source/cmake.cxx
parentda1580b48e84cf1fc3bfb518d7e78b61393a0ef2 (diff)
downloadCMake-50c4dec07267c8678302b0c4cf0c89a5a02b1d6b.zip
CMake-50c4dec07267c8678302b0c4cf0c89a5a02b1d6b.tar.gz
CMake-50c4dec07267c8678302b0c4cf0c89a5a02b1d6b.tar.bz2
graphviz: dereference ALIAS targets
Previous behavior treats ALIAS targets as external targets. This fix de-aliases these targets to their pointed target. Fixes: #15636
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 889a5fb..ab0b5cf 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2128,7 +2128,7 @@ void cmake::MarkCliAsUsed(const std::string& variable)
void cmake::GenerateGraphViz(const char* fileName) const
{
#ifdef CMAKE_BUILD_WITH_CMAKE
- cmGraphVizWriter gvWriter(this->GetGlobalGenerator()->GetLocalGenerators());
+ cmGraphVizWriter gvWriter(this->GetGlobalGenerator());
std::string settingsFile = this->GetHomeOutputDirectory();
settingsFile += "/CMakeGraphVizOptions.cmake";