summaryrefslogtreecommitdiff
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-01-12 13:49:32 -0500
committerKen Martin <ken.martin@kitware.com>2006-01-12 13:49:32 -0500
commit4bdca3b404d5fafe89779ea5cd1dce50018afbcc (patch)
treec06fe6709bb531b4bac5f2dc23a25bf6a338cd65 /Source/cmTryCompileCommand.cxx
parent1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff)
downloadcmake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index 3991f21ec1..7d0014c3bc 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -110,7 +110,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
// signature
if (srcFileSignature)
{
- tmpString = argv[1] + "/CMakeTmp";
+ tmpString = argv[1] + "/CMakeFiles/CMakeTmp";
binaryDirectory = tmpString.c_str();
}
// make sure the binary directory exists
@@ -201,7 +201,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
projectName = "CMAKE_TRY_COMPILE";
targetName = "cmTryCompileExec";
// if the source is not in CMakeTmp
- if(source.find(argv[1] + "/CMakeTmp") == source.npos)
+ if(source.find(argv[1] + "/CMakeFiles/CMakeTmp") == source.npos)
{
mf->AddCMakeDependFile(source.c_str());
}