diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-26 02:40:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-29 19:11:49 (GMT) |
commit | 0e10782ba795050e1ea82530d79c323f60478df4 (patch) | |
tree | b6d8b92725537591b13f0f7a439008f5516178cf /Source/cmGlobalXCodeGenerator.cxx | |
parent | 21fc6c46df7f2271d7baace04f239f031785b917 (diff) | |
download | CMake-0e10782ba795050e1ea82530d79c323f60478df4.zip CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.gz CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.bz2 |
Move GetCompileDefinitions to cmTarget.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 0681ce5..abe60c6 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1681,11 +1681,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, this->AppendDefines(ppDefs, exportMacro); } cmGeneratorTarget *gtgt = this->GetGeneratorTarget(&target); - this->AppendDefines(ppDefs, gtgt->GetCompileDefinitions().c_str()); + this->AppendDefines(ppDefs, target.GetCompileDefinitions().c_str()); if(configName) { this->AppendDefines(ppDefs, - gtgt->GetCompileDefinitions(configName).c_str()); + target.GetCompileDefinitions(configName).c_str()); } buildSettings->AddAttribute ("GCC_PREPROCESSOR_DEFINITIONS", ppDefs.CreateList()); |