summaryrefslogtreecommitdiff
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-17 10:53:20 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-09-17 10:53:20 -0400
commited6d98c37c34e8e5e0b8b88556b213e652235896 (patch)
tree80d507dbe98dad5e81e8aeebbf568aa456de00a7 /Source/cmTryRunCommand.cxx
parent423cdb561c129da439ebf2c61d6ddbcc5fb516e7 (diff)
downloadcmake-ed6d98c37c34e8e5e0b8b88556b213e652235896.tar.gz
STYLE: copy the executables from TRY_RUN() to
${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR} Alex
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index d702c5a03b..e6b872dd05 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -227,6 +227,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
// removed at the end of TRY_RUN and the user can run it manually
// on the target platform.
std::string copyDest = this->Makefile->GetHomeOutputDirectory();
+ copyDest += cmake::GetCMakeFilesDirectory();
copyDest += "/";
copyDest += cmSystemTools::GetFilenameWithoutExtension(
this->OutputFile.c_str());