diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-19 20:42:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 22:52:22 (GMT) |
commit | 311018e5ad27abf7c76003ec91d3f26ef316e3cc (patch) | |
tree | 12691ae0c22b86e09aa0a1bef1e6ca5fa8b1bb9c /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 215cd21a0238ba00aec7c81014fe83e3d47187a6 (diff) | |
download | CMake-311018e5ad27abf7c76003ec91d3f26ef316e3cc.zip CMake-311018e5ad27abf7c76003ec91d3f26ef316e3cc.tar.gz CMake-311018e5ad27abf7c76003ec91d3f26ef316e3cc.tar.bz2 |
cmGeneratorTarget: Move GetExportMacro from cmTarget.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 2cbd306..f4c632d 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1961,7 +1961,8 @@ bool cmVisualStudio10TargetGenerator::ComputeClOptions( configDefine += configName; configDefine += "\""; clOptions.AddDefine(configDefine); - if(const char* exportMacro = this->Target->GetExportMacro()) + if(const char* exportMacro = + this->GeneratorTarget->GetExportMacro()) { clOptions.AddDefine(exportMacro); } |