diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-09-17 14:53:20 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-09-17 14:53:20 (GMT) |
commit | ed6d98c37c34e8e5e0b8b88556b213e652235896 (patch) | |
tree | 80d507dbe98dad5e81e8aeebbf568aa456de00a7 /Source/cmTryRunCommand.cxx | |
parent | 423cdb561c129da439ebf2c61d6ddbcc5fb516e7 (diff) | |
download | CMake-ed6d98c37c34e8e5e0b8b88556b213e652235896.zip CMake-ed6d98c37c34e8e5e0b8b88556b213e652235896.tar.gz CMake-ed6d98c37c34e8e5e0b8b88556b213e652235896.tar.bz2 |
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.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index d702c5a..e6b872d 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()); |