summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-20 19:26:11 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-08 20:58:01 (GMT)
commitda8faa8c7e54df0abbdfd50c29235320164453aa (patch)
treec77423e5752786c6420c1df224e37e6f09d3cc37 /Source/CPack
parentc3f41af2be49c1850c526eeac381b0c5989d7f15 (diff)
downloadCMake-da8faa8c7e54df0abbdfd50c29235320164453aa.zip
CMake-da8faa8c7e54df0abbdfd50c29235320164453aa.tar.gz
CMake-da8faa8c7e54df0abbdfd50c29235320164453aa.tar.bz2
cmState: remove RemoveUnscriptableCommands
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index bf25e65..a44bc3d 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -23,7 +23,6 @@
#include "cmDocumentationEntry.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
-#include "cmState.h"
#include "cmStateSnapshot.h"
#include "cmSystemTools.h"
#include "cm_auto_ptr.hxx"
@@ -193,7 +192,6 @@ int main(int argc, char const* const* argv)
cminst.SetHomeDirectory("");
cminst.SetHomeOutputDirectory("");
cminst.GetCurrentSnapshot().SetDefaultDefinitions();
- cminst.GetState()->RemoveUnscriptableCommands();
cmGlobalGenerator cmgg(&cminst);
CM_AUTO_PTR<cmMakefile> globalMF(
new cmMakefile(&cmgg, cminst.GetCurrentSnapshot()));