summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:08:01 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commit41b0d60f48c3d8d882ec25b56d638b392121fcc8 (patch)
tree631c2522b4959b54b7a4fbbcc35413ae0fbc7d8d /Source/cmCommands.cxx
parentf717e1fccf2968ffeba36dc84e428abd4f8db5c0 (diff)
downloadcmake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.tar.gz
cmDefinePropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index f675a935e6..1e8ee9e037 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -224,8 +224,7 @@ void GetProjectCommands(cmState* state)
state->AddBuiltinCommand("add_test", cmAddTestCommand);
state->AddBuiltinCommand("build_command", cmBuildCommand);
state->AddBuiltinCommand("create_test_sourcelist", cmCreateTestSourceList);
- state->AddBuiltinCommand("define_property",
- cm::make_unique<cmDefinePropertyCommand>());
+ state->AddBuiltinCommand("define_property", cmDefinePropertyCommand);
state->AddBuiltinCommand("enable_language",
cm::make_unique<cmEnableLanguageCommand>());
state->AddBuiltinCommand("enable_testing", cmEnableTestingCommand);