summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-02 16:17:16 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commitfb57537a830444cd7ced203f92505bebd510f91a (patch)
tree6f3054fe9c76759493529f4a84811ac53e59a990 /Source/cmCommands.cxx
parent6377efd154a385349f2e826c1388e1d768bfcbcb (diff)
downloadCMake-fb57537a830444cd7ced203f92505bebd510f91a.zip
CMake-fb57537a830444cd7ced203f92505bebd510f91a.tar.gz
CMake-fb57537a830444cd7ced203f92505bebd510f91a.tar.bz2
cmCommand_refactor: cmGetPropertyCommand
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 d401b25..1842ae0 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -140,8 +140,7 @@ void GetScriptingCommands(cmState* state)
cmGetDirectoryPropertyCommand);
state->AddBuiltinCommand("get_filename_component",
cmGetFilenameComponentCommand);
- state->AddBuiltinCommand("get_property",
- cm::make_unique<cmGetPropertyCommand>());
+ state->AddBuiltinCommand("get_property", cmGetPropertyCommand);
state->AddBuiltinCommand("if", cmIfCommand);
state->AddBuiltinCommand("include", cm::make_unique<cmIncludeCommand>());
state->AddBuiltinCommand("include_guard",