removed quotes from cmake and ccommand executable to be consistant

This commit is contained in:
Ken Martin 2002-03-25 17:03:54 -05:00
parent c617091d13
commit 8d594bdcce
1 changed files with 3 additions and 7 deletions

View File

@ -248,9 +248,7 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args)
} }
// Save the value in the cache // Save the value in the cache
cmCacheManager::GetInstance()->AddCacheEntry cmCacheManager::GetInstance()->AddCacheEntry
("CMAKE_COMMAND", ("CMAKE_COMMAND",cMakeSelf.c_str(), "Path to CMake executable.",
cmSystemTools::EscapeSpaces(cMakeSelf.c_str()).c_str(),
"Path to CMake executable.",
cmCacheManager::INTERNAL); cmCacheManager::INTERNAL);
// Find ccommand // Find ccommand
@ -265,10 +263,8 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args)
// Save the value in the cache // Save the value in the cache
cmCacheManager::GetInstance()->AddCacheEntry cmCacheManager::GetInstance()->AddCacheEntry
("CCOMMAND_COMMAND", ("CCOMMAND_COMMAND",cCommand.c_str(),
cmSystemTools::EscapeSpaces(cCommand.c_str()).c_str(), "Path to CMakeCommand executable.", cmCacheManager::INTERNAL);
"Path to CMakeCommand executable.",
cmCacheManager::INTERNAL);
// do CMAKE_ROOT, look for the environment variable first // do CMAKE_ROOT, look for the environment variable first
std::string cMakeRoot; std::string cMakeRoot;