diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-16 14:46:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-08-25 08:09:10 (GMT) |
commit | dc3aa4024eba3067d2cc81087aeccd4b31cf23f0 (patch) | |
tree | 3aae2a42df1146f5ab27ffadc25c8ab8f542ee0d /Source/cmSetDirectoryPropertiesCommand.cxx | |
parent | 6dfa581babfb051461341ca92e0463481799361f (diff) | |
download | CMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.zip CMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.tar.gz CMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.tar.bz2 |
Refactor: Use new SetProperty signatures
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.cxx')
-rw-r--r-- | Source/cmSetDirectoryPropertiesCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.cxx b/Source/cmSetDirectoryPropertiesCommand.cxx index 07ad246..9adf537 100644 --- a/Source/cmSetDirectoryPropertiesCommand.cxx +++ b/Source/cmSetDirectoryPropertiesCommand.cxx @@ -32,7 +32,7 @@ bool cmSetDirectoryPropertiesCommand(std::vector<std::string> const& args, "Commands and macros cannot be set using SET_CMAKE_PROPERTIES"); return false; } - status.GetMakefile().SetProperty(prop, (iter + 1)->c_str()); + status.GetMakefile().SetProperty(prop, *(iter + 1)); } return true; |