From 91f8f884902aac81a7e8d30621eb3d34b8f1d30e Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 7 Jul 2003 22:41:27 -0400 Subject: [PATCH] ENH: Made ADD_DEPENDENCIES available from bootstrapped cmake. It will be needed to build cmake. --- Source/cmCommands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index e39341352..ccb2d69cf 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -21,6 +21,7 @@ #include "cmCommands.h" #include "cmAddCustomTargetCommand.cxx" #include "cmAddDefinitionsCommand.cxx" +#include "cmAddDependenciesCommand.cxx" #include "cmAddExecutableCommand.cxx" #include "cmAddLibraryCommand.cxx" #include "cmAddTestCommand.cxx" @@ -74,7 +75,6 @@ #if defined(CMAKE_BUILD_WITH_CMAKE) #include "cmAbstractFilesCommand.cxx" #include "cmAddCustomCommandCommand.cxx" -#include "cmAddDependenciesCommand.cxx" #include "cmAuxSourceDirectoryCommand.cxx" #include "cmExportLibraryDependencies.cxx" #include "cmFLTKWrapUICommand.cxx" @@ -113,6 +113,7 @@ void GetPredefinedCommands(std::list& commands) { commands.push_back(new cmAddCustomTargetCommand); commands.push_back(new cmAddDefinitionsCommand); + commands.push_back(new cmAddDependenciesCommand); commands.push_back(new cmAddExecutableCommand); commands.push_back(new cmAddLibraryCommand); commands.push_back(new cmAddTestCommand); @@ -163,7 +164,6 @@ void GetPredefinedCommands(std::list& commands) #if defined(CMAKE_BUILD_WITH_CMAKE) commands.push_back(new cmAbstractFilesCommand); commands.push_back(new cmAddCustomCommandCommand); - commands.push_back(new cmAddDependenciesCommand); commands.push_back(new cmAuxSourceDirectoryCommand); commands.push_back(new cmExportLibraryDependenciesCommand); commands.push_back(new cmFLTKWrapUICommand);