Check if directory was actually created
This commit is contained in:
parent
396f916a42
commit
8fd2ec6e91
|
@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!cmSystemTools::FileExists(path))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue