diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-14 16:15:04 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-18 14:09:11 (GMT) |
commit | a6d75a1ce0daec9c60ed850163f76416de35edb7 (patch) | |
tree | 4939d9f5e68a3fb93d0a25a64c6b7e3f243c50eb /Source/cmDepends.cxx | |
parent | 216416219ae438ec5e93a1e125298fa0b5fd64d9 (diff) | |
download | CMake-a6d75a1ce0daec9c60ed850163f76416de35edb7.zip CMake-a6d75a1ce0daec9c60ed850163f76416de35edb7.tar.gz CMake-a6d75a1ce0daec9c60ed850163f76416de35edb7.tar.bz2 |
Substitute FileComparison in variable names with FileTimeCache
Diffstat (limited to 'Source/cmDepends.cxx')
-rw-r--r-- | Source/cmDepends.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx index 4e97af2..1bfb370 100644 --- a/Source/cmDepends.cxx +++ b/Source/cmDepends.cxx @@ -177,8 +177,8 @@ bool cmDepends::CheckDependencies( if (dependerExists) { // The dependee and depender both exist. Compare file times. int result = 0; - if ((!this->FileComparison->FileTimeCompare(depender, dependee, - &result) || + if ((!this->FileTimeCache->FileTimeCompare(depender, dependee, + &result) || result < 0)) { // The depender is older than the dependee. regenerate = true; @@ -195,8 +195,8 @@ bool cmDepends::CheckDependencies( // The dependee exists, but the depender doesn't. Regenerate if the // internalDepends file is older than the dependee. int result = 0; - if ((!this->FileComparison->FileTimeCompare(internalDependsFileName, - dependee, &result) || + if ((!this->FileTimeCache->FileTimeCompare(internalDependsFileName, + dependee, &result) || result < 0)) { // The depends-file is older than the dependee. regenerate = true; |