From 6e17e798f50997bc1e00ea54edb210052c42c742 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 5 May 2004 11:41:18 -0400 Subject: fix for in source testing --- Source/cmCTest.cxx | 4 ++-- 1 file 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)) { -- cgit v0.12