summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index a7e9781..9c319f1 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1635,10 +1635,7 @@ int cmake::CheckBuildSystem()
#if defined(CMAKE_BUILD_WITH_CMAKE)
// We do not need to rerun CMake. Check dependency integrity.
- if(const char* depCheck = mf->GetDefinition("CMAKE_DEPENDS_CHECK"))
- {
- cmLocalUnixMakefileGenerator2::CheckDependencies(depCheck);
- }
+ cmLocalUnixMakefileGenerator2::CheckDependencies(mf);
#endif
// No need to rerun.