mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 00:58:59 -05:00
cmState: Move CacheEntryType enum from cmCacheManager.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
See the License for more information.
|
||||
============================================================================*/
|
||||
#include "cmFindPathCommand.h"
|
||||
#include "cmCacheManager.h"
|
||||
|
||||
#include <cmsys/Glob.hxx>
|
||||
|
||||
@@ -41,7 +40,7 @@ bool cmFindPathCommand
|
||||
this->VariableName, "",
|
||||
this->VariableDocumentation.c_str(),
|
||||
(this->IncludeFileInPath ?
|
||||
cmCacheManager::FILEPATH :cmCacheManager::PATH)
|
||||
cmState::FILEPATH :cmState::PATH)
|
||||
);
|
||||
}
|
||||
return true;
|
||||
@@ -54,7 +53,7 @@ bool cmFindPathCommand
|
||||
(this->VariableName, result.c_str(),
|
||||
this->VariableDocumentation.c_str(),
|
||||
(this->IncludeFileInPath) ?
|
||||
cmCacheManager::FILEPATH :cmCacheManager::PATH);
|
||||
cmState::FILEPATH :cmState::PATH);
|
||||
return true;
|
||||
}
|
||||
this->Makefile->AddCacheDefinition
|
||||
@@ -62,7 +61,7 @@ bool cmFindPathCommand
|
||||
(this->VariableName + "-NOTFOUND").c_str(),
|
||||
this->VariableDocumentation.c_str(),
|
||||
(this->IncludeFileInPath) ?
|
||||
cmCacheManager::FILEPATH :cmCacheManager::PATH);
|
||||
cmState::FILEPATH :cmState::PATH);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user