diff options
Diffstat (limited to 'Source/cmUtilitySourceCommand.cxx')
-rw-r--r-- | Source/cmUtilitySourceCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx index 0a8c9b7..32506d0 100644 --- a/Source/cmUtilitySourceCommand.cxx +++ b/Source/cmUtilitySourceCommand.cxx @@ -62,10 +62,10 @@ bool cmUtilitySourceCommand::Invoke(std::vector<std::string>& args) // The source exists. Construct the cache entry for the executable's // location. - std::string cmakeCFG = m_Makefile->GetDefinition("CMAKE_CFG"); + std::string cmakeCFGout = m_Makefile->GetDefinition("CMAKE_CFG_OUTDIR"); std::string utilityExecutable = m_Makefile->GetCurrentOutputDirectory(); utilityExecutable = - (utilityExecutable+"/"+relativeSource+"/"+cmakeCFG+"/" + (utilityExecutable+"/"+relativeSource+"/"+cmakeCFGout+"/" +utilityName+cmSystemTools::GetExecutableExtension()); // Enter the value into the cache. |