summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-05-05 15:41:18 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-05-05 15:41:18 (GMT)
commit6e17e798f50997bc1e00ea54edb210052c42c742 (patch)
tree22bb76489dd49150b70fb9fa7aabb6821a1414f9 /Source/cmCTest.cxx
parentd8ae50b87c25ad35daec2760f64c30a148a8c4bd (diff)
downloadCMake-6e17e798f50997bc1e00ea54edb210052c42c742.zip
CMake-6e17e798f50997bc1e00ea54edb210052c42c742.tar.gz
CMake-6e17e798f50997bc1e00ea54edb210052c42c742.tar.bz2
fix for in source testing
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 377e688..888dec8 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -3622,8 +3622,8 @@ int cmCTest::RunConfigurationScript(const std::string& total_script_arg)
}
}
- // make sure the binary directory exists
- if (!cmSystemTools::FileExists(binDir))
+ // make sure the binary directory exists if it isn;t the srcdir
+ if (!cmSystemTools::FileExists(binDir) && strcmp(srcDir, binDir))
{
if (!cmSystemTools::MakeDirectory(binDir))
{