summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 17:03:09 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commitd780822da61afb5fd3014f7e15c68eb2eb0754c3 (patch)
treeab751627d24aaf9f280343a17840c452563bd0c1 /Source/cmCommands.cxx
parent4fa9630b7ef645850da31a895ebaceb3bc583859 (diff)
downloadCMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.zip
CMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.tar.gz
CMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.tar.bz2
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 5aff42d..406954a 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>());