summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-10-14 23:00:34 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-16 15:12:19 (GMT)
commitb8bb6ba653df9d53d93824bb7185bf022e9bf2ef (patch)
tree4073db484bda9d8b6b55ee419237664b5a5fccf7 /Source/cmLocalVisualStudio7Generator.cxx
parentf77a9576e542f7f0b2d32096a65fd232a1fd089e (diff)
downloadCMake-b8bb6ba653df9d53d93824bb7185bf022e9bf2ef.zip
CMake-b8bb6ba653df9d53d93824bb7185bf022e9bf2ef.tar.gz
CMake-b8bb6ba653df9d53d93824bb7185bf022e9bf2ef.tar.bz2
cmGeneratorTarget::GetExportMacro: return const std::string*
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 8428672..1da077e 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -735,8 +735,8 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(
targetOptions.AddDefine(configDefine);
// Add the export symbol definition for shared library objects.
- if (const char* exportMacro = target->GetExportMacro()) {
- targetOptions.AddDefine(exportMacro);
+ if (const std::string* exportMacro = target->GetExportMacro()) {
+ targetOptions.AddDefine(*exportMacro);
}
// The intermediate directory name consists of a directory for the