diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-19 13:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-19 12:55:03 (GMT) |
commit | ef408dd232812c938d18dadb6e2440050a5db91b (patch) | |
tree | 7263ccd2fe0425ba495cfa893a787c70e5fba82e /Source/cmTarget.cxx | |
parent | 60db3af147e03e6073ecd6c5729d627d4af66a67 (diff) | |
download | CMake-ef408dd232812c938d18dadb6e2440050a5db91b.zip CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.gz CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.bz2 |
cmState::GetTargetTypeName: return type is *cmProp
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 03f1525..872f02c 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1668,7 +1668,7 @@ const char* cmTarget::GetProperty(const std::string& prop) const } // the type property returns what type the target is if (prop == propTYPE) { - return cmState::GetTargetTypeName(this->GetType()); + return cmState::GetTargetTypeName(this->GetType()).c_str(); } if (prop == propINCLUDE_DIRECTORIES) { if (impl->IncludeDirectoriesEntries.empty()) { |