fix for in source testing
This commit is contained in:
parent
d8ae50b87c
commit
6e17e798f5
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue