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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 229f884..941d787 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1253,8 +1253,8 @@ void cmLocalGenerator::GetTargetDefines(cmGeneratorTarget const* target, std::set<std::string>& defines) const { // Add the export symbol definition for shared library objects. - if (const char* exportMacro = target->GetExportMacro()) { - this->AppendDefines(defines, exportMacro); + if (const std::string* exportMacro = target->GetExportMacro()) { + this->AppendDefines(defines, *exportMacro); } // Add preprocessor definitions for this target and configuration. |