summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 18:58:39 +0200
committerBrad King <brad.king@kitware.com>2019-08-20 14:42:20 -0400
commit4fa9630b7ef645850da31a895ebaceb3bc583859 (patch)
tree0edc684551021d2d412e2e4e9ac174d31a82101a /Source/cmCommands.cxx
parentcfc7854ef07369d6fb614a4483543afaf72a5208 (diff)
downloadcmake-4fa9630b7ef645850da31a895ebaceb3bc583859.tar.gz
cmCommand refactor: cmOptionCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index c9a192aab3..5aff42db34 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -150,7 +150,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("mark_as_advanced", cmMarkAsAdvancedCommand);
state->AddBuiltinCommand("math", cmMathCommand);
state->AddBuiltinCommand("message", cmMessageCommand);
- state->AddBuiltinCommand("option", cm::make_unique<cmOptionCommand>());
+ state->AddBuiltinCommand("option", cmOptionCommand);
state->AddBuiltinCommand("cmake_parse_arguments",
cm::make_unique<cmParseArgumentsCommand>());
state->AddBuiltinCommand("return", cmReturnCommand);