Commit 74d31507 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: use last mount point found for mingw location, not first

parent b6863e9f
......@@ -33,17 +33,18 @@ cmGlobalMSYSMakefileGenerator::FindMinGW(std::string const& makeloc)
std::ifstream fin(fstab.c_str());
std::string path;
std::string mount;
std::string mingwBin;
fin >> path;
fin >> mount;
if(mount == "/mingw")
path += "/bin";
return path;
mingwBin = path;
mingwBin += "/bin";
return "";
return mingwBin;
void cmGlobalMSYSMakefileGenerator::EnableLanguage(std::vector<std::string>const& l,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment