summaryrefslogtreecommitdiffstats
path: root/Source/cmGetPropertyCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 12:15:55 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-15 15:43:50 (GMT)
commit5d056c0dd85934e7a985cb49f97c343e38f20929 (patch)
treeb3a091e3886ba1de176fcfac7d93075a01310e22 /Source/cmGetPropertyCommand.cxx
parentde722d7d63866613aaa8105b52ee90ffe2721136 (diff)
downloadCMake-5d056c0dd85934e7a985cb49f97c343e38f20929.zip
CMake-5d056c0dd85934e7a985cb49f97c343e38f20929.tar.gz
CMake-5d056c0dd85934e7a985cb49f97c343e38f20929.tar.bz2
Port Global property interaction to cmState.
Diffstat (limited to 'Source/cmGetPropertyCommand.cxx')
-rw-r--r--Source/cmGetPropertyCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx
index a8481ad..3e1d08e 100644
--- a/Source/cmGetPropertyCommand.cxx
+++ b/Source/cmGetPropertyCommand.cxx
@@ -237,7 +237,8 @@ bool cmGetPropertyCommand::HandleGlobalMode()
// Get the property.
cmake* cm = this->Makefile->GetCMakeInstance();
- return this->StoreResult(cm->GetProperty(this->PropertyName));
+ return this->StoreResult(cm->GetState()
+ ->GetGlobalProperty(this->PropertyName));
}
//----------------------------------------------------------------------------