diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-11-04 15:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-11-04 15:11:54 (GMT) |
commit | c7b50349de5e56d7584fa644832170d1e08ef62e (patch) | |
tree | 0fd42e52ae4cc439867b46b85664f0e1215690e4 /Source/cmGetPropertyCommand.cxx | |
parent | 622ac065d2abeb53de3548b7e4f3d9b5980dfa8d (diff) | |
download | CMake-c7b50349de5e56d7584fa644832170d1e08ef62e.zip CMake-c7b50349de5e56d7584fa644832170d1e08ef62e.tar.gz CMake-c7b50349de5e56d7584fa644832170d1e08ef62e.tar.bz2 |
cmSourceFile::GetPropertyForUser: return cmProp
also fix GetSafeProperty() return type
Diffstat (limited to 'Source/cmGetPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetPropertyCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx index 3a5b39d..b1dc72d 100644 --- a/Source/cmGetPropertyCommand.cxx +++ b/Source/cmGetPropertyCommand.cxx @@ -391,7 +391,7 @@ bool HandleSourceMode(cmExecutionStatus& status, const std::string& name, if (cmSourceFile* sf = directory_makefile.GetOrCreateSource(source_file_absolute_path)) { return StoreResult(infoType, status.GetMakefile(), variable, - sf->GetPropertyForUser(propertyName)); + cmToCStr(sf->GetPropertyForUser(propertyName))); } status.SetError( cmStrCat("given SOURCE name that could not be found or created: ", |