summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-18 19:28:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-19 13:40:59 (GMT)
commitcde6eb6249cd3211cb3391860221ec32f985e53b (patch)
tree7e00e7e59cdcfe57ad9a2b610159129998918afc /Source/cmcmd.cxx
parenta9bf981a4c0ee3aece0b162ba7ebc76ad99330eb (diff)
downloadCMake-cde6eb6249cd3211cb3391860221ec32f985e53b.zip
CMake-cde6eb6249cd3211cb3391860221ec32f985e53b.tar.gz
CMake-cde6eb6249cd3211cb3391860221ec32f985e53b.tar.bz2
cmState: Port dependent code to new cmStateSnapshot name
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 4387bf6..912acdb 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -760,7 +760,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
cm.GetCurrentSnapshot().SetDefaultDefinitions();
if (cmGlobalGenerator* ggd = cm.CreateGlobalGenerator(gen)) {
cm.SetGlobalGenerator(ggd);
- cmState::Snapshot snapshot = cm.GetCurrentSnapshot();
+ cmStateSnapshot snapshot = cm.GetCurrentSnapshot();
snapshot.GetDirectory().SetCurrentBinary(startOutDir);
snapshot.GetDirectory().SetCurrentSource(startDir);
CM_AUTO_PTR<cmMakefile> mf(new cmMakefile(ggd, snapshot));