summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-04-09 13:44:29 (GMT)
committerBrad King <brad.king@kitware.com>2001-04-09 13:44:29 (GMT)
commite7bd5fcd19064480142aae2928189dc822fad47c (patch)
tree51b21d4bd06ff5b6e53e30c60ad01d0f322cb795 /Source/cmUtilitySourceCommand.cxx
parent70b14df3f06177a1e65dfc9eb4bb4c0b0938a2a2 (diff)
downloadCMake-e7bd5fcd19064480142aae2928189dc822fad47c.zip
CMake-e7bd5fcd19064480142aae2928189dc822fad47c.tar.gz
CMake-e7bd5fcd19064480142aae2928189dc822fad47c.tar.bz2
ENH: Added support for spaces in the output directory names. Spaces in the input directory name may work also, but are untested.
Diffstat (limited to 'Source/cmUtilitySourceCommand.cxx')
-rw-r--r--Source/cmUtilitySourceCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx
index 0cb83dd..e098d5d 100644
--- a/Source/cmUtilitySourceCommand.cxx
+++ b/Source/cmUtilitySourceCommand.cxx
@@ -70,8 +70,8 @@ bool cmUtilitySourceCommand::Invoke(std::vector<std::string>& args)
// Construct the cache entry for the executable's location.
std::string utilityExecutable =
- utilityDirectory+"/"+cmakeCFGout+"/"
- +utilityName+cmSystemTools::GetExecutableExtension();
+ "\""+utilityDirectory+"/"+cmakeCFGout+"/"
+ +utilityName+cmSystemTools::GetExecutableExtension()+"\"";
// Enter the value into the cache.
cmCacheManager::GetInstance()->AddCacheEntry(cacheEntry.c_str(),