diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-10-14 23:00:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-16 15:12:19 (GMT) |
commit | b8bb6ba653df9d53d93824bb7185bf022e9bf2ef (patch) | |
tree | 4073db484bda9d8b6b55ee419237664b5a5fccf7 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | f77a9576e542f7f0b2d32096a65fd232a1fd089e (diff) | |
download | CMake-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.cxx | 4 |
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 |