summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 10:52:14 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-15 15:43:49 (GMT)
commit0aec49132885be07e1d92a4a1db58f4c6c4c2844 (patch)
treeba5db3057c7431795a8aa9762f0cfbc5f252e406 /Source/CPack
parent96f8c5f9a3bd60f553af054b43e06ce4864269e0 (diff)
downloadCMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.zip
CMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.tar.gz
CMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.tar.bz2
Port cmCommand consumers to cmState.
Diffstat (limited to 'Source/CPack')
-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 00b23cd..a9cabf1 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -198,7 +198,7 @@ int main (int argc, char const* const* argv)
"Read CPack config file: " << cpackConfigFile << std::endl);
cmake cminst;
- cminst.RemoveUnscriptableCommands();
+ cminst.GetState()->RemoveUnscriptableCommands();
cmGlobalGenerator cmgg;
cmgg.SetCMakeInstance(&cminst);
cmsys::auto_ptr<cmLocalGenerator> cmlg(cmgg.CreateLocalGenerator());