summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.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/CPack/cpack.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/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index a48c8cd..bf25e65 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -189,7 +189,7 @@ int main(int argc, char const* const* argv)
cmCPack_Log(&log, cmCPackLog::LOG_VERBOSE,
"Read CPack config file: " << cpackConfigFile << std::endl);
- cmake cminst;
+ cmake cminst(cmake::RoleScript);
cminst.SetHomeDirectory("");
cminst.SetHomeOutputDirectory("");
cminst.GetCurrentSnapshot().SetDefaultDefinitions();