diff options
author | Brad King <brad.king@kitware.com> | 2020-04-10 15:30:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-13 15:03:00 (GMT) |
commit | 1639ee70ef7986c4c6ad72db1b2552bcaa5b88fa (patch) | |
tree | e510ecf4801fa2a814df41cc9d5680b0ef0876cb /Source/cmDependsC.cxx | |
parent | 413d26030f559c9871d94b7c99cda305d53525c8 (diff) | |
download | CMake-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.cxx')
-rw-r--r-- | Source/cmDependsC.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index 01bb6ed..0748c65 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -7,7 +7,7 @@ #include "cmsys/FStream.hxx" #include "cmFileTime.h" -#include "cmLocalGenerator.h" +#include "cmLocalUnixMakefileGenerator3.h" #include "cmMakefile.h" #include "cmStringAlgorithms.h" #include "cmSystemTools.h" @@ -22,8 +22,9 @@ cmDependsC::cmDependsC() = default; -cmDependsC::cmDependsC(cmLocalGenerator* lg, const std::string& targetDir, - const std::string& lang, const DependencyMap* validDeps) +cmDependsC::cmDependsC(cmLocalUnixMakefileGenerator3* lg, + const std::string& targetDir, const std::string& lang, + const DependencyMap* validDeps) : cmDepends(lg, targetDir) , ValidDeps(validDeps) { |