mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
cmState: Move CacheEntryType enum from cmCacheManager.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
See the License for more information.
|
||||
============================================================================*/
|
||||
#include "cmFindProgramCommand.h"
|
||||
#include "cmCacheManager.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
@@ -37,7 +36,7 @@ bool cmFindProgramCommand
|
||||
{
|
||||
this->Makefile->AddCacheDefinition(this->VariableName, "",
|
||||
this->VariableDocumentation.c_str(),
|
||||
cmCacheManager::FILEPATH);
|
||||
cmState::FILEPATH);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -49,14 +48,14 @@ bool cmFindProgramCommand
|
||||
this->Makefile->AddCacheDefinition(this->VariableName,
|
||||
result.c_str(),
|
||||
this->VariableDocumentation.c_str(),
|
||||
cmCacheManager::FILEPATH);
|
||||
cmState::FILEPATH);
|
||||
|
||||
return true;
|
||||
}
|
||||
this->Makefile->AddCacheDefinition(this->VariableName,
|
||||
(this->VariableName + "-NOTFOUND").c_str(),
|
||||
this->VariableDocumentation.c_str(),
|
||||
cmCacheManager::FILEPATH);
|
||||
cmState::FILEPATH);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user