summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 22:42:01 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-21 00:52:22 +0200
commit311018e5ad27abf7c76003ec91d3f26ef316e3cc (patch)
tree12691ae0c22b86e09aa0a1bef1e6ca5fa8b1bb9c /Source/cmGlobalXCodeGenerator.cxx
parent215cd21a0238ba00aec7c81014fe83e3d47187a6 (diff)
downloadcmake-311018e5ad27abf7c76003ec91d3f26ef316e3cc.tar.gz
cmGeneratorTarget: Move GetExportMacro from cmTarget.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index ea1b1a0869..35f6a58221 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1848,7 +1848,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
this->AppendDefines(ppDefs,
"CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"");
}
- if(const char* exportMacro = target.GetExportMacro())
+ if(const char* exportMacro = gtgt->GetExportMacro())
{
// Add the export symbol definition for shared library objects.
this->AppendDefines(ppDefs, exportMacro);