diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 10:25:12 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 10:25:12 (GMT) |
commit | 2b785875fbc9815b1fc528a90cf008a2b13f0084 (patch) | |
tree | 8b709ff6484f57740f996888614ea9ea89e69a6a /Source/cmCommands.cxx | |
parent | 9703c65718689e56bfa100f1965b6a83af87e090 (diff) | |
download | CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.zip CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.gz CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.bz2 |
cmFileCommand: turn into free function
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 f351ff8..a9be445 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -128,7 +128,7 @@ void GetScriptingCommands(cmState* state) cm::make_unique<cmExecProgramCommand>()); state->AddBuiltinCommand("execute_process", cm::make_unique<cmExecuteProcessCommand>()); - state->AddBuiltinCommand("file", cm::make_unique<cmFileCommand>()); + state->AddBuiltinCommand("file", cmFileCommand); state->AddBuiltinCommand("find_file", cm::make_unique<cmFindFileCommand>()); state->AddBuiltinCommand("find_library", cm::make_unique<cmFindLibraryCommand>()); |