summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-13 16:44:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-13 16:44:39 (GMT)
commit262295615925c082ec3f98c3fc1f6c259d09ee6f (patch)
tree824df934da7880461ba13920cb3b0cbcbd036573 /Source
parent96f948adf5ff0299bd1fa2f069da0f375596614d (diff)
downloadCMake-262295615925c082ec3f98c3fc1f6c259d09ee6f.zip
CMake-262295615925c082ec3f98c3fc1f6c259d09ee6f.tar.gz
CMake-262295615925c082ec3f98c3fc1f6c259d09ee6f.tar.bz2
ENH: fix for CMakeTmp move broken stuff
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTryCompileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index 7d0014c..ce0b61a 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -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] + "/CMakeFiles/CMakeTmp") == source.npos)
+ if(source.find("CMakeTmp") == source.npos)
{
mf->AddCMakeDependFile(source.c_str());
}