From 8d594bdccef2640904f246dcfd703cdc61c45f35 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 25 Mar 2002 17:03:54 -0500 Subject: [PATCH] removed quotes from cmake and ccommand executable to be consistant --- Source/cmake.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index e2a1dd8ab..586244d3f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -248,9 +248,7 @@ void cmake::AddCMakePaths(const std::vector& 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& 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;