From 25c2ee32ae83ce9c93a16af880fc2a5df5d959f2 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 22 May 2006 16:10:35 -0400 Subject: [PATCH] COMP: fix bootstrap --- Source/cmake.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7e7d2f724b..a4e5640b52 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -977,6 +977,7 @@ int cmake::ExecuteCMakeCommand(std::vector& args) // Command to start progress for a build else if (args[1] == "cmake_progress_start" && args.size() == 4) { +#if defined(CMAKE_BUILD_WITH_CMAKE) // bascially remove the directory std::string dirName = args[2]; dirName += "/Progress"; @@ -992,12 +993,14 @@ int cmake::ExecuteCMakeCommand(std::vector& args) fprintf(progFile,"%i\n",count); fclose(progFile); } +#endif return 0; } // Command to report progress for a build else if (args[1] == "cmake_progress_report" && args.size() >= 4) { +#if defined(CMAKE_BUILD_WITH_CMAKE) std::string dirName = args[2]; dirName += "/Progress"; std::string fName; @@ -1033,6 +1036,7 @@ int cmake::ExecuteCMakeCommand(std::vector& args) } fclose(progFile); } +#endif return 0; }