COMP: Remove compile warning in bootstrap stage

This commit is contained in:
Andy Cedilnik 2005-02-24 10:14:56 -05:00
parent e9da9cc3d7
commit 33024e8ff6
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@
#include "cmLoadCommandCommand.cxx"
#endif
void GetPredefinedCommands(std::list<cmCommand*>& commands)
void GetPredefinedCommands(std::list<cmCommand*>&
#if defined(CMAKE_BUILD_WITH_CMAKE)
commands
#endif
)
{
#if defined(CMAKE_BUILD_WITH_CMAKE)
commands.push_back(new cmAbstractFilesCommand);