From a2d4e15ed3cd7b98262b881f7c137a5d2fc41267 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 20 Oct 2005 14:25:08 -0400 Subject: [PATCH] ENH: missing check_build_system for all target --- Source/cmLocalUnixMakefileGenerator3.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 339150f56..c72cfa618 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -2835,6 +2835,7 @@ void cmLocalUnixMakefileGenerator3 if (!m_Parent) { dir = "all"; + depends.push_back("cmake_check_build_system"); } this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir); this->WriteMakeRule(ruleFileStream, "The main all target", "all", depends, commands); @@ -2844,6 +2845,7 @@ void cmLocalUnixMakefileGenerator3 dir += "/clean"; dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE); commands.clear(); + depends.clear(); this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir); this->WriteMakeRule(ruleFileStream, "The main clean target", "clean", depends, commands);