summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-29 19:28:14 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-08 20:29:44 (GMT)
commitc36d63cd48fbfda57cd8cf25c029a3a175e10299 (patch)
tree979c1f66e94ad7850b2db7e92c98a96cd0f34313 /Source/cmGraphVizWriter.cxx
parent8986dec05dade19ee0f779c6c498dc0e04a8f8ee (diff)
downloadCMake-c36d63cd48fbfda57cd8cf25c029a3a175e10299.zip
CMake-c36d63cd48fbfda57cd8cf25c029a3a175e10299.tar.gz
CMake-c36d63cd48fbfda57cd8cf25c029a3a175e10299.tar.bz2
cmake: initialize with Role that controls which commands to register
Diffstat (limited to 'Source/cmGraphVizWriter.cxx')
-rw-r--r--Source/cmGraphVizWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx
index 1fcd3cb..7e953ce 100644
--- a/Source/cmGraphVizWriter.cxx
+++ b/Source/cmGraphVizWriter.cxx
@@ -61,7 +61,7 @@ cmGraphVizWriter::cmGraphVizWriter(
void cmGraphVizWriter::ReadSettings(const char* settingsFileName,
const char* fallbackSettingsFileName)
{
- cmake cm;
+ cmake cm(cmake::RoleScript);
cm.SetHomeDirectory("");
cm.SetHomeOutputDirectory("");
cm.GetCurrentSnapshot().SetDefaultDefinitions();