1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fix an issue with per-file compiler flags not being respected

This commit is contained in:
hogliux 2022-10-26 09:56:45 +02:00
parent f2de0f12b0
commit b0bd31b3c2
8 changed files with 36 additions and 12 deletions

View file

@ -1402,7 +1402,7 @@ private:
}
else
{
auto extraFlags = compilerFlagSchemesMap[projectItem.getCompilerFlagSchemeString()].get().toString();
auto extraFlags = getCompilerFlagsForProjectItem (projectItem);
if (extraFlags.isNotEmpty())
extraCompilerFlags.add ({ file, extraFlags });