diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 16:51:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | cce3600e3f789f6f2984d61c925170f92b35ee7d (patch) | |
tree | 69143f9d2f4e3e6940770bf1b41e5f966c54eb94 /Source/cmCommands.cxx | |
parent | 3e5eb45ec1fd977b709da6e36966b0b13d185214 (diff) | |
download | CMake-cce3600e3f789f6f2984d61c925170f92b35ee7d.zip CMake-cce3600e3f789f6f2984d61c925170f92b35ee7d.tar.gz CMake-cce3600e3f789f6f2984d61c925170f92b35ee7d.tar.bz2 |
cmCommand refactor: cmForEachCommand
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 ea9bddb..f4f4c4a 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -133,7 +133,7 @@ void GetScriptingCommands(cmState* state) state->AddBuiltinCommand("find_path", cm::make_unique<cmFindPathCommand>()); state->AddBuiltinCommand("find_program", cm::make_unique<cmFindProgramCommand>()); - state->AddBuiltinCommand("foreach", cm::make_unique<cmForEachCommand>()); + state->AddBuiltinCommand("foreach", cmForEachCommand); state->AddBuiltinCommand("function", cm::make_unique<cmFunctionCommand>()); state->AddBuiltinCommand("get_cmake_property", cm::make_unique<cmGetCMakePropertyCommand>()); |