diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-10 19:44:48 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-10 20:13:11 (GMT) |
commit | 8a18bb7cdf2478d68e11a5e532b5134ea92b3678 (patch) | |
tree | e0210e119c21d5326041969831ed2e97b1ed413c /Source/cmCommands.cxx | |
parent | 95d4a2d05562c5f0a4113527d31dadef4d7756bd (diff) | |
download | CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.zip CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.tar.gz CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.tar.bz2 |
cmFind*: Port away from cmCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 702b743..dfe130e 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -125,14 +125,11 @@ void GetScriptingCommands(cmState* state) state->AddBuiltinCommand("exec_program", cmExecProgramCommand); state->AddBuiltinCommand("execute_process", cmExecuteProcessCommand); state->AddBuiltinCommand("file", cmFileCommand); - state->AddBuiltinCommand("find_file", cm::make_unique<cmFindFileCommand>()); - state->AddBuiltinCommand("find_library", - cm::make_unique<cmFindLibraryCommand>()); - state->AddBuiltinCommand("find_package", - cm::make_unique<cmFindPackageCommand>()); - state->AddBuiltinCommand("find_path", cm::make_unique<cmFindPathCommand>()); - state->AddBuiltinCommand("find_program", - cm::make_unique<cmFindProgramCommand>()); + state->AddBuiltinCommand("find_file", cmFindFile); + state->AddBuiltinCommand("find_library", cmFindLibrary); + state->AddBuiltinCommand("find_package", cmFindPackage); + state->AddBuiltinCommand("find_path", cmFindPath); + state->AddBuiltinCommand("find_program", cmFindProgram); state->AddBuiltinCommand("foreach", cmForEachCommand); state->AddBuiltinCommand("function", cmFunctionCommand); state->AddBuiltinCommand("get_cmake_property", cmGetCMakePropertyCommand); |