diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-18 22:34:23 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 22:36:09 (GMT) |
commit | 83703bda7d1017e1f75ec1b92d672d5ef17194d5 (patch) | |
tree | 1dc551849f31b187c08332f71d9a596567338c6b /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 9afbb733ec2a55424e6c25c6afa7fdd14219d6b1 (diff) | |
download | CMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.zip CMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.tar.gz CMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.tar.bz2 |
cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 31fb37b..020e64c 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -209,7 +209,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) } // Add symbol export flags if necessary. - if(this->Target->IsExecutableWithExports()) + if(this->GeneratorTarget->IsExecutableWithExports()) { std::string export_flag_var = "CMAKE_EXE_EXPORTS_"; export_flag_var += linkLanguage; @@ -297,7 +297,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) std::string linkRule = this->GetLinkRule(linkRuleVar); std::vector<std::string> commands1; cmSystemTools::ExpandListArgument(linkRule, real_link_commands); - if(this->Target->IsExecutableWithExports()) + if(this->GeneratorTarget->IsExecutableWithExports()) { // If a separate rule for creating an import library is specified // add it now. |