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/cmQTWrapCPPCommand.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/cmQTWrapCPPCommand.cxx')
-rw-r--r-- | Source/cmQTWrapCPPCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx index e9670f9..ca0b259 100644 --- a/Source/cmQTWrapCPPCommand.cxx +++ b/Source/cmQTWrapCPPCommand.cxx @@ -6,7 +6,6 @@ #include "cmExecutionStatus.h" #include "cmMakefile.h" #include "cmPolicies.h" -#include "cmProperty.h" #include "cmRange.h" #include "cmSourceFile.h" #include "cmStringAlgorithms.h" @@ -41,7 +40,7 @@ bool cmQTWrapCPPCommand(std::vector<std::string> const& args, cmStrCat(mf.GetCurrentBinaryDirectory(), "/moc_", srcName, ".cxx"); cmSourceFile* sf = mf.GetOrCreateSource(newName, true); if (curr) { - sf->SetProperty("ABSTRACT", cmToCStr(curr->GetProperty("ABSTRACT"))); + sf->SetProperty("ABSTRACT", curr->GetProperty("ABSTRACT")); } // Compute the name of the header from which to generate the file. |