summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 16:35:43 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commit71724633a24fccfdf3d56a19176d8afe637be843 (patch)
tree2d21e3a116cc34aee647054ad8543568c7cbc2e1 /Source/cmCommands.cxx
parent2b58ae75773ff826bb1c3e6c5a3bad31c5292f00 (diff)
downloadCMake-71724633a24fccfdf3d56a19176d8afe637be843.zip
CMake-71724633a24fccfdf3d56a19176d8afe637be843.tar.gz
CMake-71724633a24fccfdf3d56a19176d8afe637be843.tar.bz2
cmCommand refactor: cmMathCommand
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 6dd3e92..68122af 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -148,7 +148,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("macro", cmMacroCommand);
state->AddBuiltinCommand("make_directory", cmMakeDirectoryCommand);
state->AddBuiltinCommand("mark_as_advanced", cmMarkAsAdvancedCommand);
- state->AddBuiltinCommand("math", cm::make_unique<cmMathCommand>());
+ state->AddBuiltinCommand("math", cmMathCommand);
state->AddBuiltinCommand("message", cm::make_unique<cmMessageCommand>());
state->AddBuiltinCommand("option", cm::make_unique<cmOptionCommand>());
state->AddBuiltinCommand("cmake_parse_arguments",