diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-03-10 11:19:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-13 15:20:29 (GMT) |
commit | 9a0d5a828a8f47b4388dbeab8bde9921ee3b7146 (patch) | |
tree | bc0f67a069969ebbf2602d7978b38c4c92e7672f /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | d40eebd89df7d0a9bfa12d12c7a11d61e8cfec1a (diff) | |
download | CMake-9a0d5a828a8f47b4388dbeab8bde9921ee3b7146.zip CMake-9a0d5a828a8f47b4388dbeab8bde9921ee3b7146.tar.gz CMake-9a0d5a828a8f47b4388dbeab8bde9921ee3b7146.tar.bz2 |
Ninja: add /DEF: flag to linker call
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 9e05b4c..af7bcd6 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -341,6 +341,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() vars["LINK_FLAGS"], *this->GetTarget()); + this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]); + // Compute architecture specific link flags. Yes, these go into a different // variable for executables, probably due to a mistake made when duplicating // code between the Makefile executable and library generators. |