diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-10-20 20:37:14 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-10-20 20:37:14 (GMT) |
commit | d3d746ad7b5b0f84ff03a605084ccb441852b902 (patch) | |
tree | ccbc0017c35f287f428a3eea1c17defa1ccbdb9c | |
parent | b7b902e048b119509d03f85d820f1868bfcc63be (diff) | |
download | CMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.zip CMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.tar.gz CMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.tar.bz2 |
STYLE: minor cleanup
-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; |