mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmState: Move CacheEntryType enum to separate namespace
Port dependent code to the change.
This commit is contained in:
@@ -19,10 +19,10 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args,
|
||||
|
||||
this->Makefile->AddCacheDefinition(
|
||||
bindir, this->Makefile->GetCurrentBinaryDirectory(),
|
||||
"Value Computed by CMake", cmState::STATIC);
|
||||
"Value Computed by CMake", cmStateEnums::STATIC);
|
||||
this->Makefile->AddCacheDefinition(
|
||||
srcdir, this->Makefile->GetCurrentSourceDirectory(),
|
||||
"Value Computed by CMake", cmState::STATIC);
|
||||
"Value Computed by CMake", cmStateEnums::STATIC);
|
||||
|
||||
bindir = "PROJECT_BINARY_DIR";
|
||||
srcdir = "PROJECT_SOURCE_DIR";
|
||||
@@ -45,7 +45,7 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args,
|
||||
this->Makefile->AddDefinition("CMAKE_PROJECT_NAME", args[0].c_str());
|
||||
this->Makefile->AddCacheDefinition("CMAKE_PROJECT_NAME", args[0].c_str(),
|
||||
"Value Computed by CMake",
|
||||
cmState::STATIC);
|
||||
cmStateEnums::STATIC);
|
||||
}
|
||||
|
||||
bool haveVersion = false;
|
||||
|
||||
Reference in New Issue
Block a user