diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-11 12:52:14 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 11:43:49 -0400 |
commit | 0aec49132885be07e1d92a4a1db58f4c6c4c2844 (patch) | |
tree | ba5db3057c7431795a8aa9762f0cfbc5f252e406 /Source/cmLoadCommandCommand.cxx | |
parent | 96f8c5f9a3bd60f553af054b43e06ce4864269e0 (diff) | |
download | cmake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.tar.gz |
Port cmCommand consumers to cmState.
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index cdfd00c9f6..403f7fcc84 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -273,7 +273,7 @@ bool cmLoadCommandCommand // create a function blocker and set it up cmLoadedCommand *f = new cmLoadedCommand(); (*initFunction)(&f->info); - this->Makefile->AddCommand(f); + this->Makefile->GetState()->AddCommand(f); return true; } this->SetError("Attempt to load command failed. " |