diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:16:43 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 242d876d7b919fe6efb3a347dfa35a66e3ef58df (patch) | |
tree | c7ccf4ef6685ac59df8cfcdff7dd7adc14cc922f /Source/cmCommands.cxx | |
parent | 06a2e764f0f088a212e20b85e364b5621ef639fe (diff) | |
download | CMake-242d876d7b919fe6efb3a347dfa35a66e3ef58df.zip CMake-242d876d7b919fe6efb3a347dfa35a66e3ef58df.tar.gz CMake-242d876d7b919fe6efb3a347dfa35a66e3ef58df.tar.bz2 |
cmIncludeRegularExpressionCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index a82559d..6f01bea 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>()); |