diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx index 7eafd346d..a25da042b 100644 --- a/Source/cmBootstrapCommands.cxx +++ b/Source/cmBootstrapCommands.cxx @@ -22,6 +22,7 @@ #include "cmAddCustomCommandCommand.cxx" #include "cmAddCustomTargetCommand.cxx" #include "cmAddDefinitionsCommand.cxx" +#include "cmAddDependenciesCommand.cxx" #include "cmAddExecutableCommand.cxx" #include "cmAddLibraryCommand.cxx" #include "cmAddTestCommand.cxx" @@ -71,6 +72,7 @@ void GetBootstrapCommands(std::list& commands) commands.push_back(new cmAddCustomCommandCommand); 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); diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index f3bf189b7..26b098afc 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -16,7 +16,6 @@ =========================================================================*/ #include "cmCommands.h" #if defined(CMAKE_BUILD_WITH_CMAKE) -#include "cmAddDependenciesCommand.cxx" #include "cmAddSubDirectoryCommand.cxx" #include "cmAuxSourceDirectoryCommand.cxx" #include "cmBuildNameCommand.cxx" @@ -70,7 +69,6 @@ void GetPredefinedCommands(std::list& ) { #if defined(CMAKE_BUILD_WITH_CMAKE) - commands.push_back(new cmAddDependenciesCommand); commands.push_back(new cmAddSubDirectoryCommand); commands.push_back(new cmAuxSourceDirectoryCommand); commands.push_back(new cmBuildNameCommand);