summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-03-25 22:03:54 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-03-25 22:03:54 (GMT)
commit8d594bdccef2640904f246dcfd703cdc61c45f35 (patch)
tree3d5a95a9a34f3926390da6877fdfcc56c1c4fa04 /Source/cmake.cxx
parentc617091d13a4330ee9c4d1f3dfff362e80b1b917 (diff)
downloadCMake-8d594bdccef2640904f246dcfd703cdc61c45f35.zip
CMake-8d594bdccef2640904f246dcfd703cdc61c45f35.tar.gz
CMake-8d594bdccef2640904f246dcfd703cdc61c45f35.tar.bz2
removed quotes from cmake and ccommand executable to be consistant
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index e2a1dd8..586244d 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -248,9 +248,7 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args)
}
// Save the value in the cache
cmCacheManager::GetInstance()->AddCacheEntry
- ("CMAKE_COMMAND",
- cmSystemTools::EscapeSpaces(cMakeSelf.c_str()).c_str(),
- "Path to CMake executable.",
+ ("CMAKE_COMMAND",cMakeSelf.c_str(), "Path to CMake executable.",
cmCacheManager::INTERNAL);
// Find ccommand
@@ -265,10 +263,8 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args)
// Save the value in the cache
cmCacheManager::GetInstance()->AddCacheEntry
- ("CCOMMAND_COMMAND",
- cmSystemTools::EscapeSpaces(cCommand.c_str()).c_str(),
- "Path to CMakeCommand executable.",
- cmCacheManager::INTERNAL);
+ ("CCOMMAND_COMMAND",cCommand.c_str(),
+ "Path to CMakeCommand executable.", cmCacheManager::INTERNAL);
// do CMAKE_ROOT, look for the environment variable first
std::string cMakeRoot;