diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-01-12 18:49:32 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-01-12 18:49:32 (GMT) |
commit | 4bdca3b404d5fafe89779ea5cd1dce50018afbcc (patch) | |
tree | c06fe6709bb531b4bac5f2dc23a25bf6a338cd65 /Source/cmTryCompileCommand.cxx | |
parent | 1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff) | |
download | CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.zip CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.bz2 |
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index 3991f21..7d0014c 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()); } |