diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 35f4ad20a..e6fac5e0c 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1742,7 +1742,8 @@ int cmake::CheckBuildSystem() out != outputs.end(); ++out) { int result = 0; - if(!m_FileComparison->FileTimeCompare(out->c_str(), dep->c_str(), &result) || + if(!m_FileComparison->FileTimeCompare(out->c_str(), + dep->c_str(), &result) || result < 0) { return 1;