summaryrefslogtreecommitdiff
path: root/Source/cmSetSourceFilesPropertiesCommand.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-08-16 16:46:53 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2021-08-25 10:09:10 +0200
commitdc3aa4024eba3067d2cc81087aeccd4b31cf23f0 (patch)
tree3aae2a42df1146f5ab27ffadc25c8ab8f542ee0d /Source/cmSetSourceFilesPropertiesCommand.cxx
parent6dfa581babfb051461341ca92e0463481799361f (diff)
downloadcmake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.tar.gz
Refactor: Use new SetProperty signatures
Diffstat (limited to 'Source/cmSetSourceFilesPropertiesCommand.cxx')
-rw-r--r--Source/cmSetSourceFilesPropertiesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetSourceFilesPropertiesCommand.cxx b/Source/cmSetSourceFilesPropertiesCommand.cxx
index 237b67fedb..ab93ddb549 100644
--- a/Source/cmSetSourceFilesPropertiesCommand.cxx
+++ b/Source/cmSetSourceFilesPropertiesCommand.cxx
@@ -173,7 +173,7 @@ static bool RunCommandForScope(
SetPropertyCommand::HandleAndValidateSourceFilePropertyGENERATED(
sf, *(k + 1));
} else {
- sf->SetProperty(*k, (k + 1)->c_str());
+ sf->SetProperty(*k, *(k + 1));
}
}
}