summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorJustin Goshi <jgoshi@microsoft.com>2020-06-11 19:27:46 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-15 15:31:03 (GMT)
commit0892c798f795c6072ce882552384187db86797f0 (patch)
tree70de16645f493c702419992a3c691de41e5a38f6 /Source/cmMakefile.h
parent43b10e2411858ae7734c54480a8c0c6c3ccd659b (diff)
downloadCMake-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.h5
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;