diff options
author | Brad King <brad.king@kitware.com> | 2015-07-14 14:34:24 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-14 14:34:24 (GMT) |
commit | e7251049a49e745bbd95006a3946db3ba9086072 (patch) | |
tree | b9053d8b907561791e5255896d137621751a0907 /Source | |
parent | 860c2055e5a0b700f25fbf63f64d29443d889f0b (diff) | |
parent | 80d75246d475865210aa5bc09e0824b230cd074d (diff) | |
download | CMake-e7251049a49e745bbd95006a3946db3ba9086072.zip CMake-e7251049a49e745bbd95006a3946db3ba9086072.tar.gz CMake-e7251049a49e745bbd95006a3946db3ba9086072.tar.bz2 |
Merge topic 'factor-out-common-generator'
80d75246 cmNinjaTargetGenerator: Restore addition of Fortran format flags
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index a72bc72..43b9139 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -112,6 +112,12 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source, { std::string flags = this->GetFlags(language); + // Add Fortran format flags. + if(language == "Fortran") + { + this->AppendFortranFormatFlags(flags, *source); + } + // Add source file specific flags. this->LocalGenerator->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS")); |