From 33024e8ff6b21a6fe3b4b7f5ef4d4354f1bbda58 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 24 Feb 2005 10:14:56 -0500 Subject: COMP: Remove compile warning in bootstrap stage --- Source/cmCommands.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index f9cb55c..7e9d256 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -53,7 +53,11 @@ #include "cmLoadCommandCommand.cxx" #endif -void GetPredefinedCommands(std::list& commands) +void GetPredefinedCommands(std::list& +#if defined(CMAKE_BUILD_WITH_CMAKE) + commands +#endif + ) { #if defined(CMAKE_BUILD_WITH_CMAKE) commands.push_back(new cmAbstractFilesCommand); -- cgit v0.12