diff options
author | Brad King <brad.king@kitware.com> | 2022-11-17 15:39:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-18 16:44:52 (GMT) |
commit | a1c20b08b4b1b913a205607dad7240d5c63f4a62 (patch) | |
tree | fd8d1130b8a384e3cffd21a1356a7f6af207f964 /Source/cmLocalGenerator.h | |
parent | 914571a04249ee561a30309197d8e1c1cacbe18b (diff) | |
download | CMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.zip CMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.tar.gz CMake-a1c20b08b4b1b913a205607dad7240d5c63f4a62.tar.bz2 |
cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site
The call site in `AddLanguageFlags` is now the "one true place" for
adding language standard flags. Inline the helper to reduce risk of
adding other call sites later.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 765441c..20f23de 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -164,10 +164,6 @@ public: const std::string& lang); void AddConfigVariableFlags(std::string& flags, const std::string& var, const std::string& config); - void AddCompilerRequirementFlag(std::string& flags, - cmGeneratorTarget const* target, - const std::string& lang, - const std::string& config); void AddColorDiagnosticsFlags(std::string& flags, const std::string& lang); //! Append flags to a string. virtual void AppendFlags(std::string& flags, |