diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 35f4ad2..e6fac5e 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; |