summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-10-20 20:37:14 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-10-20 20:37:14 (GMT)
commitd3d746ad7b5b0f84ff03a605084ccb441852b902 (patch)
treeccbc0017c35f287f428a3eea1c17defa1ccbdb9c /Source
parentb7b902e048b119509d03f85d820f1868bfcc63be (diff)
downloadCMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.zip
CMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.tar.gz
CMake-d3d746ad7b5b0f84ff03a605084ccb441852b902.tar.bz2
STYLE: minor cleanup
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx3
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;