summaryrefslogtreecommitdiff
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:16:43 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commit242d876d7b919fe6efb3a347dfa35a66e3ef58df (patch)
treec7ccf4ef6685ac59df8cfcdff7dd7adc14cc922f /Source/cmCommands.cxx
parent06a2e764f0f088a212e20b85e364b5621ef639fe (diff)
downloadcmake-242d876d7b919fe6efb3a347dfa35a66e3ef58df.tar.gz
cmIncludeRegularExpressionCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index a82559d803..6f01bea196 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -233,9 +233,8 @@ void GetProjectCommands(cmState* state)
state->AddBuiltinCommand("get_test_property", cmGetTestPropertyCommand);
state->AddBuiltinCommand("include_directories",
cm::make_unique<cmIncludeDirectoryCommand>());
- state->AddBuiltinCommand(
- "include_regular_expression",
- cm::make_unique<cmIncludeRegularExpressionCommand>());
+ state->AddBuiltinCommand("include_regular_expression",
+ cmIncludeRegularExpressionCommand);
state->AddBuiltinCommand("install", cm::make_unique<cmInstallCommand>());
state->AddBuiltinCommand("install_files",
cm::make_unique<cmInstallFilesCommand>());