Commit fcc97a4f authored by Alexander Neundorf's avatar Alexander Neundorf
Browse files

BUG: fix #8203: codeblocks + mingw doesn't like the extra quotes around the

path to the makefile if it contains spaces, under Linux it works with spaces

Alex
parent 82e7e7fb
......@@ -418,6 +418,13 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
command += "" ";
command += target;
}
else if (strcmp(this->GlobalGenerator->GetName(), "MinGW Makefiles")==0)
{
command += " -f ";
command += makefile;
command += " ";
command += target;
}
else
{
command += " -f "";
......
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