diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-04 16:58:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:20 (GMT) |
commit | 4fa9630b7ef645850da31a895ebaceb3bc583859 (patch) | |
tree | 0edc684551021d2d412e2e4e9ac174d31a82101a /Source/cmCommands.cxx | |
parent | cfc7854ef07369d6fb614a4483543afaf72a5208 (diff) | |
download | CMake-4fa9630b7ef645850da31a895ebaceb3bc583859.zip CMake-4fa9630b7ef645850da31a895ebaceb3bc583859.tar.gz CMake-4fa9630b7ef645850da31a895ebaceb3bc583859.tar.bz2 |
cmCommand refactor: cmOptionCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index c9a192a..5aff42d 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); |