diff options
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", |