fix for utility command without EXECUTABLE_OUTPUT_PATH
This commit is contained in:
parent
c198fa1af3
commit
8b8766d246
|
@ -83,6 +83,9 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string> const& args)
|
|||
std::string utilityExecutable =
|
||||
utilityDirectory+"/"+cmakeCFGout+"/"
|
||||
+utilityName+cmSystemTools::GetExecutableExtension();
|
||||
|
||||
// make sure we remove any /./ in the name
|
||||
cmSystemTools::ReplaceString(utilityExecutable, "/./", "/");
|
||||
|
||||
// Enter the value into the cache.
|
||||
m_Makefile->AddCacheDefinition(cacheEntry.c_str(),
|
||||
|
|
Loading…
Reference in New Issue