summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:13:17 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commit0b95c64e43e5f60ee9c60570f359a40e4e882096 (patch)
tree720d3f4c7c1f966bccffde8d23666bdfa2581a9c /Source/cmCommands.cxx
parente4c67981aca4fd736fd7503d9d105a0a6fb43828 (diff)
downloadcmake-0b95c64e43e5f60ee9c60570f359a40e4e882096.tar.gz
cmGetTargetPropertyCommand: 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 ff19062e4e..9916282a63 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -229,8 +229,7 @@ void GetProjectCommands(cmState* state)
state->AddBuiltinCommand("enable_testing", cmEnableTestingCommand);
state->AddBuiltinCommand("get_source_file_property",
cmGetSourceFilePropertyCommand);
- state->AddBuiltinCommand("get_target_property",
- cm::make_unique<cmGetTargetPropertyCommand>());
+ state->AddBuiltinCommand("get_target_property", cmGetTargetPropertyCommand);
state->AddBuiltinCommand("get_test_property",
cm::make_unique<cmGetTestPropertyCommand>());
state->AddBuiltinCommand("include_directories",