summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 15:14:56 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 15:14:56 (GMT)
commit33024e8ff6b21a6fe3b4b7f5ef4d4354f1bbda58 (patch)
tree74d4de4dacdf9a99490befc2d49ed180d2605a24 /Source/cmCommands.cxx
parente9da9cc3d7b7c710aa0960e6cabd85d5d878bc76 (diff)
downloadCMake-33024e8ff6b21a6fe3b4b7f5ef4d4354f1bbda58.zip
CMake-33024e8ff6b21a6fe3b4b7f5ef4d4354f1bbda58.tar.gz
CMake-33024e8ff6b21a6fe3b4b7f5ef4d4354f1bbda58.tar.bz2
COMP: Remove compile warning in bootstrap stage
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx6
1 files changed, 5 insertions, 1 deletions
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<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);