Commit 6e17e798 authored by Ken Martin's avatar Ken Martin
Browse files

fix for in source testing

parent d8ae50b8
......@@ -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))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment