diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:09:06 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 28cf1271ed6051af46ff68f52a8c9c0435ca1234 (patch) | |
tree | 87b30137944697367e8e8359380cda6e54cd1aaa /Source/cmCommands.cxx | |
parent | 41b0d60f48c3d8d882ec25b56d638b392121fcc8 (diff) | |
download | CMake-28cf1271ed6051af46ff68f52a8c9c0435ca1234.zip CMake-28cf1271ed6051af46ff68f52a8c9c0435ca1234.tar.gz CMake-28cf1271ed6051af46ff68f52a8c9c0435ca1234.tar.bz2 |
cmEnableLanguageCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 1e8ee9e..f30fcb5 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -225,8 +225,7 @@ void GetProjectCommands(cmState* state) state->AddBuiltinCommand("build_command", cmBuildCommand); state->AddBuiltinCommand("create_test_sourcelist", cmCreateTestSourceList); state->AddBuiltinCommand("define_property", cmDefinePropertyCommand); - state->AddBuiltinCommand("enable_language", - cm::make_unique<cmEnableLanguageCommand>()); + state->AddBuiltinCommand("enable_language", cmEnableLanguageCommand); state->AddBuiltinCommand("enable_testing", cmEnableTestingCommand); state->AddBuiltinCommand("get_source_file_property", cm::make_unique<cmGetSourceFilePropertyCommand>()); |