From b6863e9fad3d789cf887075b00a3c9ee997a8e02 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 21 Feb 2006 07:58:01 -0500 Subject: [PATCH] ENH: try to get the order a bit better --- Source/cmGlobalMSYSMakefileGenerator.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmGlobalMSYSMakefileGenerator.cxx b/Source/cmGlobalMSYSMakefileGenerator.cxx index 8643857bf..3bfa12daa 100644 --- a/Source/cmGlobalMSYSMakefileGenerator.cxx +++ b/Source/cmGlobalMSYSMakefileGenerator.cxx @@ -53,12 +53,10 @@ void cmGlobalMSYSMakefileGenerator::EnableLanguage(std::vectorconst std::string makeProgram = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM"); std::vector locations; std::string makeloc = cmSystemTools::GetProgramPath(makeProgram.c_str()); - locations.push_back(makeloc); locations.push_back(this->FindMinGW(makeloc)); + locations.push_back(makeloc); locations.push_back("/mingw/bin"); - locations.push_back("/msys/1.0/bin"); locations.push_back("c:/mingw/bin"); - locations.push_back("C:/msys/1.0/bin"); std::string tgcc = cmSystemTools::FindProgram("gcc", locations); std::string gcc = "gcc.exe"; if(tgcc.size())