summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableRequiresCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-28 18:51:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-28 18:51:10 (GMT)
commitd0be2896d7191e56818aaac48f7177b9d92a9693 (patch)
tree42c3a9c07f1ccd9fe8683051c921463e9d639dc7 /Source/cmVariableRequiresCommand.cxx
parent4855fe5c10841fd3641b7405522de3278732987f (diff)
downloadCMake-d0be2896d7191e56818aaac48f7177b9d92a9693.zip
CMake-d0be2896d7191e56818aaac48f7177b9d92a9693.tar.gz
CMake-d0be2896d7191e56818aaac48f7177b9d92a9693.tar.bz2
changed cache manager and registered generators to no longer be singletons
Diffstat (limited to 'Source/cmVariableRequiresCommand.cxx')
-rw-r--r--Source/cmVariableRequiresCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVariableRequiresCommand.cxx b/Source/cmVariableRequiresCommand.cxx
index 6d89c0d..6ac0b77 100644
--- a/Source/cmVariableRequiresCommand.cxx
+++ b/Source/cmVariableRequiresCommand.cxx
@@ -47,7 +47,7 @@ void cmVariableRequiresCommand::FinalPass()
requirementsMet = false;
notSet += m_Arguments[i];
notSet += "\n";
- if(cmCacheManager::GetInstance()->IsAdvanced(m_Arguments[i].c_str()))
+ if(m_Makefile->GetCacheManager()->IsAdvanced(m_Arguments[i].c_str()))
{
hasAdvanced = true;
}