diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:08:01 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 41b0d60f48c3d8d882ec25b56d638b392121fcc8 (patch) | |
tree | 631c2522b4959b54b7a4fbbcc35413ae0fbc7d8d /Source/cmCommands.cxx | |
parent | f717e1fccf2968ffeba36dc84e428abd4f8db5c0 (diff) | |
download | CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.zip CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.tar.gz CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.tar.bz2 |
cmDefinePropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index f675a93..1e8ee9e 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); |