summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-10 15:30:24 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-13 15:03:00 (GMT)
commit1639ee70ef7986c4c6ad72db1b2552bcaa5b88fa (patch)
treee510ecf4801fa2a814df41cc9d5680b0ef0876cb /Source/cmDependsC.h
parent413d26030f559c9871d94b7c99cda305d53525c8 (diff)
downloadCMake-1639ee70ef7986c4c6ad72db1b2552bcaa5b88fa.zip
CMake-1639ee70ef7986c4c6ad72db1b2552bcaa5b88fa.tar.gz
CMake-1639ee70ef7986c4c6ad72db1b2552bcaa5b88fa.tar.bz2
cmDepends: Update types to always use a Makefile generator
We only use these classes with a `cmLocalUnixMakefileGenerator3`. Construct using that type instead of just `cmLocalGenerator` so that the Makefile-specific methods are available.
Diffstat (limited to 'Source/cmDependsC.h')
-rw-r--r--Source/cmDependsC.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h
index 868c94a..e01faa4 100644
--- a/Source/cmDependsC.h
+++ b/Source/cmDependsC.h
@@ -16,7 +16,7 @@
#include "cmDepends.h"
-class cmLocalGenerator;
+class cmLocalUnixMakefileGenerator3;
/** \class cmDependsC
* \brief Dependency scanner for C and C++ object files.
@@ -27,7 +27,7 @@ public:
/** Checking instances need to know the build directory name and the
relative path from the build directory to the target file. */
cmDependsC();
- cmDependsC(cmLocalGenerator* lg, const std::string& targetDir,
+ cmDependsC(cmLocalUnixMakefileGenerator3* lg, const std::string& targetDir,
const std::string& lang, const DependencyMap* validDeps);
/** Virtual destructor to cleanup subclasses properly. */