summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-26 02:40:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-29 19:11:49 (GMT)
commit0e10782ba795050e1ea82530d79c323f60478df4 (patch)
treeb6d8b92725537591b13f0f7a439008f5516178cf /Source/cmLocalVisualStudio7Generator.cxx
parent21fc6c46df7f2271d7baace04f239f031785b917 (diff)
downloadCMake-0e10782ba795050e1ea82530d79c323f60478df4.zip
CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.gz
CMake-0e10782ba795050e1ea82530d79c323f60478df4.tar.bz2
Move GetCompileDefinitions to cmTarget.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 918b21e..f9df861 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -745,8 +745,8 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
targetOptions.ParseFinish();
cmGeneratorTarget* gt =
this->GlobalGenerator->GetGeneratorTarget(&target);
- targetOptions.AddDefines(gt->GetCompileDefinitions().c_str());
- targetOptions.AddDefines(gt->GetCompileDefinitions(configName).c_str());
+ targetOptions.AddDefines(target.GetCompileDefinitions().c_str());
+ targetOptions.AddDefines(target.GetCompileDefinitions(configName).c_str());
targetOptions.SetVerboseMakefile(
this->Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"));