diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-05-05 15:41:18 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-05-05 15:41:18 (GMT) |
commit | 6e17e798f50997bc1e00ea54edb210052c42c742 (patch) | |
tree | 22bb76489dd49150b70fb9fa7aabb6821a1414f9 /Source/cmCTest.cxx | |
parent | d8ae50b87c25ad35daec2760f64c30a148a8c4bd (diff) | |
download | CMake-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.cxx | 4 |
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)) { |