diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 358edd024..32f69fc5b 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -186,6 +186,10 @@ bool cmSystemTools::MakeDirectory(const char* path) return false; } } + if(!cmSystemTools::FileExists(path)) + { + return false; + } return true; }