summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 19:03:09 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:20 -0400
commitd780822da61afb5fd3014f7e15c68eb2eb0754c3 (patch)
treeab751627d24aaf9f280343a17840c452563bd0c1 /Source/cmCommands.cxx
parent4fa9630b7ef645850da31a895ebaceb3bc583859 (diff)
downloadcmake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.tar.gz
cmCommand refactor: cmParseArgumentsCommand
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 5aff42db34..406954a3f6 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -151,8 +151,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("math", cmMathCommand);
state->AddBuiltinCommand("message", cmMessageCommand);
state->AddBuiltinCommand("option", cmOptionCommand);
- state->AddBuiltinCommand("cmake_parse_arguments",
- cm::make_unique<cmParseArgumentsCommand>());
+ state->AddBuiltinCommand("cmake_parse_arguments", cmParseArgumentsCommand);
state->AddBuiltinCommand("return", cmReturnCommand);
state->AddBuiltinCommand("separate_arguments",
cm::make_unique<cmSeparateArgumentsCommand>());