fix for utility command without EXECUTABLE_OUTPUT_PATH

This commit is contained in:
Ken Martin 2003-08-01 13:54:53 -04:00
parent c198fa1af3
commit 8b8766d246
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string> const& args)
utilityDirectory+"/"+cmakeCFGout+"/" utilityDirectory+"/"+cmakeCFGout+"/"
+utilityName+cmSystemTools::GetExecutableExtension(); +utilityName+cmSystemTools::GetExecutableExtension();
// make sure we remove any /./ in the name
cmSystemTools::ReplaceString(utilityExecutable, "/./", "/");
// Enter the value into the cache. // Enter the value into the cache.
m_Makefile->AddCacheDefinition(cacheEntry.c_str(), m_Makefile->AddCacheDefinition(cacheEntry.c_str(),
utilityExecutable.c_str(), utilityExecutable.c_str(),