mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
cmState: Move CacheEntryType enum to separate namespace
Port dependent code to the change.
This commit is contained in:
@@ -90,7 +90,7 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn,
|
||||
if (this->AlreadyInCacheWithoutMetaInfo) {
|
||||
this->Makefile->AddCacheDefinition(this->VariableName, "",
|
||||
this->VariableDocumentation.c_str(),
|
||||
cmState::FILEPATH);
|
||||
cmStateEnums::FILEPATH);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -100,13 +100,13 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn,
|
||||
// Save the value in the cache
|
||||
this->Makefile->AddCacheDefinition(this->VariableName, result.c_str(),
|
||||
this->VariableDocumentation.c_str(),
|
||||
cmState::FILEPATH);
|
||||
cmStateEnums::FILEPATH);
|
||||
|
||||
return true;
|
||||
}
|
||||
this->Makefile->AddCacheDefinition(
|
||||
this->VariableName, (this->VariableName + "-NOTFOUND").c_str(),
|
||||
this->VariableDocumentation.c_str(), cmState::FILEPATH);
|
||||
this->VariableDocumentation.c_str(), cmStateEnums::FILEPATH);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user