From 54e4f2ad455817bed165fa1cb3682acbd93a8a1a Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Sun, 26 Jan 2020 18:31:48 +0100 Subject: cmake_command: Add command to INVOKE other commands by name Fixes: #18392 --- Source/cmCommands.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmCommands.cxx') diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 896b6a98de..28b426732c 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -91,6 +91,7 @@ # include "cmAddLinkOptionsCommand.h" # include "cmAuxSourceDirectoryCommand.h" # include "cmBuildNameCommand.h" +# include "cmCMakeCommand.h" # include "cmCMakeHostSystemInformationCommand.h" # include "cmExportCommand.h" # include "cmExportLibraryDependenciesCommand.h" @@ -196,6 +197,7 @@ 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("load_cache", cmLoadCacheCommand); -- cgit v1.2.1