mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.
Being initialized is a requirement for this method to return something, and is what differentiates it from using GetIterator with it.GetValue.
This commit is contained in:
@@ -90,7 +90,8 @@ char* cmCommandArgumentParserHelper::ExpandSpecialVariable(const char* key,
|
||||
}
|
||||
if ( strcmp(key, "CACHE") == 0 )
|
||||
{
|
||||
if(const char* c = this->Makefile->GetCacheManager()->GetCacheValue(var))
|
||||
if(const char* c = this->Makefile->GetCacheManager()
|
||||
->GetInitializedCacheValue(var))
|
||||
{
|
||||
if(this->EscapeQuotes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user