diff options
author | Brad King <brad.king@kitware.com> | 2020-05-21 17:25:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-21 17:36:52 (GMT) |
commit | 94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496 (patch) | |
tree | b2dd5a73b5839d50fa6f5fb0af2c356b69815db5 /Source/cmCommands.cxx | |
parent | 3c5d52579b271e99475873cec953a1ecccbea585 (diff) | |
download | CMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.zip CMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.tar.gz CMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.tar.bz2 |
cmake_language: Rename command from cmake_command
Also rename the `INVOKE` signature to `CALL`.
Fixes: #20732
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 28b4267..c94f128 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -91,8 +91,8 @@ # include "cmAddLinkOptionsCommand.h" # include "cmAuxSourceDirectoryCommand.h" # include "cmBuildNameCommand.h" -# include "cmCMakeCommand.h" # include "cmCMakeHostSystemInformationCommand.h" +# include "cmCMakeLanguageCommand.h" # include "cmExportCommand.h" # include "cmExportLibraryDependenciesCommand.h" # include "cmFLTKWrapUICommand.h" @@ -197,9 +197,9 @@ void GetScriptingCommands(cmState* state) "match the opening WHILE command."); #if !defined(CMAKE_BOOTSTRAP) - state->AddBuiltinCommand("cmake_command", cmCMakeCommand); state->AddBuiltinCommand("cmake_host_system_information", cmCMakeHostSystemInformationCommand); + state->AddBuiltinCommand("cmake_language", cmCMakeLanguageCommand); state->AddBuiltinCommand("load_cache", cmLoadCacheCommand); state->AddBuiltinCommand("remove", cmRemoveCommand); state->AddBuiltinCommand("variable_watch", cmVariableWatchCommand); |