diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-09-20 21:25:27 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-09-21 11:28:54 (GMT) |
commit | 2c2b25b203e653326c0f4064649da06a8cdfd7a5 (patch) | |
tree | 1b240dfbc8bc5e573495d183b2600026850a65aa /Source/cmLocalVisualStudio7Generator.cxx | |
parent | b7e48e0acbd0cd30f803ec8c2d402c636beba778 (diff) | |
download | CMake-2c2b25b203e653326c0f4064649da06a8cdfd7a5.zip CMake-2c2b25b203e653326c0f4064649da06a8cdfd7a5.tar.gz CMake-2c2b25b203e653326c0f4064649da06a8cdfd7a5.tar.bz2 |
Return a std::string from GetCompileDefinitions.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 71c1647..11d9d9c 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -742,8 +742,8 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, targetOptions.ParseFinish(); cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(&target); - targetOptions.AddDefines(gt->GetCompileDefinitions()); - targetOptions.AddDefines(gt->GetCompileDefinitions(configName)); + targetOptions.AddDefines(gt->GetCompileDefinitions().c_str()); + targetOptions.AddDefines(gt->GetCompileDefinitions(configName).c_str()); targetOptions.SetVerboseMakefile( this->Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE")); |