diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 17:07:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | 9bbe95a0e71e6658a37fe9e755577c80ffa2da9c (patch) | |
tree | 543b82d34066fe72ff216255c5c55d02390685c4 /Source/cmCommands.cxx | |
parent | cce3600e3f789f6f2984d61c925170f92b35ee7d (diff) | |
download | CMake-9bbe95a0e71e6658a37fe9e755577c80ffa2da9c.zip CMake-9bbe95a0e71e6658a37fe9e755577c80ffa2da9c.tar.gz CMake-9bbe95a0e71e6658a37fe9e755577c80ffa2da9c.tar.bz2 |
cmCommand refactor: cmFunctionCommand
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 f4f4c4a..461ffdf 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -134,7 +134,7 @@ void GetScriptingCommands(cmState* state) state->AddBuiltinCommand("find_program", cm::make_unique<cmFindProgramCommand>()); state->AddBuiltinCommand("foreach", cmForEachCommand); - state->AddBuiltinCommand("function", cm::make_unique<cmFunctionCommand>()); + state->AddBuiltinCommand("function", cmFunctionCommand); state->AddBuiltinCommand("get_cmake_property", cm::make_unique<cmGetCMakePropertyCommand>()); state->AddBuiltinCommand("get_directory_property", |