diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2020-06-11 19:27:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-15 15:31:03 (GMT) |
commit | 0892c798f795c6072ce882552384187db86797f0 (patch) | |
tree | 70de16645f493c702419992a3c691de41e5a38f6 /Source/cmMakefile.h | |
parent | 43b10e2411858ae7734c54480a8c0c6c3ccd659b (diff) | |
download | CMake-0892c798f795c6072ce882552384187db86797f0.zip CMake-0892c798f795c6072ce882552384187db86797f0.tar.gz CMake-0892c798f795c6072ce882552384187db86797f0.tar.bz2 |
cmMakefile: Change CompileFeatureKnown to take target name instead of target
The implementation needs only the target name.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 45d7109..368676f 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -928,8 +928,9 @@ public: bool AddRequiredTargetFeature(cmTarget* target, const std::string& feature, std::string* error = nullptr) const; - bool CompileFeatureKnown(cmTarget const* target, const std::string& feature, - std::string& lang, std::string* error) const; + bool CompileFeatureKnown(const std::string& targetName, + const std::string& feature, std::string& lang, + std::string* error) const; const char* CompileFeaturesAvailable(const std::string& lang, std::string* error) const; |