summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.cxx
diff options
context:
space:
mode:
authorIsaiah Norton <isaiah.norton@gmail.com>2017-12-09 16:46:58 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-23 18:15:53 (GMT)
commit93bc5848e75101477215c3131b7b7ff2b4eb7053 (patch)
tree8ae8649c98c9a41c42486695b05a959d3b46f5b1 /Source/CPack/cmCPackGenerator.cxx
parent9c52b587b6dfa54266bcebbe7e111d7dde437a75 (diff)
downloadCMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.zip
CMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.tar.gz
CMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.tar.bz2
CPack: accept --trace and --trace-expand
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index ea0e899..69e53e1 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -637,6 +637,8 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
cm.GetCurrentSnapshot().SetDefaultDefinitions();
cm.AddCMakePaths();
cm.SetProgressCallback(cmCPackGeneratorProgress, this);
+ cm.SetTrace(this->Trace);
+ cm.SetTraceExpand(this->TraceExpand);
cmGlobalGenerator gg(&cm);
cmMakefile mf(&gg, cm.GetCurrentSnapshot());
if (!installSubDirectory.empty() && installSubDirectory != "/" &&