diff options
Diffstat (limited to 'Source/cmMarkAsAdvancedCommand.cxx')
-rw-r--r-- | Source/cmMarkAsAdvancedCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMarkAsAdvancedCommand.cxx b/Source/cmMarkAsAdvancedCommand.cxx index 23d572a..1aed616 100644 --- a/Source/cmMarkAsAdvancedCommand.cxx +++ b/Source/cmMarkAsAdvancedCommand.cxx @@ -46,8 +46,8 @@ bool cmMarkAsAdvancedCommand manager->GetCacheIterator(variable.c_str()); if ( it.IsAtEnd() ) { - this->Makefile->AddCacheDefinition(variable.c_str(), 0, 0, - cmCacheManager::UNINITIALIZED); + this->Makefile->GetCacheManager() + ->AddCacheEntry(variable.c_str(), 0, 0, cmCacheManager::UNINITIALIZED); overwrite = true; } it.Find(variable.c_str()); |