summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-06 10:25:12 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-08-06 10:25:12 (GMT)
commit2b785875fbc9815b1fc528a90cf008a2b13f0084 (patch)
tree8b709ff6484f57740f996888614ea9ea89e69a6a /Source/cmCommands.cxx
parent9703c65718689e56bfa100f1965b6a83af87e090 (diff)
downloadCMake-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.cxx2
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>());