summaryrefslogtreecommitdiffstats
path: root/Source/cmGetPropertyCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-06 08:52:45 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-13 15:44:15 (GMT)
commitff7169a03c2ae2e7a0440c1f2921b7ce6b2e486c (patch)
tree5154d25dbe57edfed146b7d956487a7b1250b2ef /Source/cmGetPropertyCommand.cxx
parenta6b1ad1309d14668e572da7937a2a8dda9e1f669 (diff)
downloadCMake-ff7169a03c2ae2e7a0440c1f2921b7ce6b2e486c.zip
CMake-ff7169a03c2ae2e7a0440c1f2921b7ce6b2e486c.tar.gz
CMake-ff7169a03c2ae2e7a0440c1f2921b7ce6b2e486c.tar.bz2
Port to cmState.
Diffstat (limited to 'Source/cmGetPropertyCommand.cxx')
-rw-r--r--Source/cmGetPropertyCommand.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx
index 0e6e0c2..80edbcd 100644
--- a/Source/cmGetPropertyCommand.cxx
+++ b/Source/cmGetPropertyCommand.cxx
@@ -12,6 +12,7 @@
#include "cmGetPropertyCommand.h"
#include "cmake.h"
+#include "cmState.h"
#include "cmTest.h"
#include "cmGlobalGenerator.h"
#include "cmLocalGenerator.h"
@@ -391,9 +392,9 @@ bool cmGetPropertyCommand::HandleCacheMode()
}
const char* value = 0;
- if(this->Makefile->GetCacheManager()->GetCacheEntryValue(this->Name))
+ if(this->Makefile->GetState()->GetCacheEntryValue(this->Name))
{
- value = this->Makefile->GetCacheManager()
+ value = this->Makefile->GetState()
->GetCacheEntryProperty(this->Name, this->PropertyName);
}
this->StoreResult(value);