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
|
// make sure the binary directory exists if it isn;t the srcdir
|
||||||
if (!cmSystemTools::FileExists(binDir))
|
if (!cmSystemTools::FileExists(binDir) && strcmp(srcDir, binDir))
|
||||||
{
|
{
|
||||||
if (!cmSystemTools::MakeDirectory(binDir))
|
if (!cmSystemTools::MakeDirectory(binDir))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user