diff options
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 6ae45a9..cd54c4d 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -142,6 +142,10 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source, this->LocalGenerator->AppendFlags(languageFlags, this->Makefile->GetDefineFlags()); + // Add framework directory flags. + this->LocalGenerator-> + AppendFlags(languageFlags, this->GetFrameworkFlags(language)); + // Add target-specific flags. this->LocalGenerator->AddCompileOptions(languageFlags, this->Target, language, @@ -160,8 +164,6 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source, this->LocalGenerator->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS")); - // TODO: Handle Apple frameworks. - return flags; } |