diff options
author | Brad King <brad.king@kitware.com> | 2017-04-27 20:15:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-27 20:15:07 (GMT) |
commit | a8667467ea6337faddb0eeb7a8d0b08154338ac0 (patch) | |
tree | 85b8b490943289ed6b55fd835c6ec0565156e9c8 /Source/cmLocalGenerator.h | |
parent | f0ae821681a0a0b4f411a0feb4a6f6e458475999 (diff) | |
download | CMake-a8667467ea6337faddb0eeb7a8d0b08154338ac0.zip CMake-a8667467ea6337faddb0eeb7a8d0b08154338ac0.tar.gz CMake-a8667467ea6337faddb0eeb7a8d0b08154338ac0.tar.bz2 |
Add IPO compiler flags more consistently in generators
Move addition of IPO flags into `cmLocalGenerator::AddLanguageFlags`
because all call sites of that need the IPO flags, but not all were
following the call with `AppendFeatureOptions`.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 1459a05..2eda0e5 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -98,8 +98,8 @@ public: const std::string& lang, const std::string& config); - void AddLanguageFlags(std::string& flags, const std::string& lang, - const std::string& config); + void AddLanguageFlags(std::string& flags, cmGeneratorTarget const* target, + const std::string& lang, const std::string& config); void AddCMP0018Flags(std::string& flags, cmGeneratorTarget const* target, std::string const& lang, const std::string& config); void AddVisibilityPresetFlags(std::string& flags, |