mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
macOS: Fixed compatibility targeting macOS 10.10 and earlier when building against the 10.15 SDK
This commit is contained in:
parent
2f6053b64e
commit
997b217179
2 changed files with 21 additions and 6 deletions
|
|
@ -302,7 +302,12 @@ void LibraryModule::addSettingsForModuleToExporter (ProjectExporter& exporter, P
|
|||
auto& xcodeExporter = dynamic_cast<XcodeProjectExporter&> (exporter);
|
||||
|
||||
if (project.isAUPluginHost())
|
||||
xcodeExporter.xcodeFrameworks.addTokens (xcodeExporter.isOSX() ? "AudioUnit CoreAudioKit" : "CoreAudioKit", false);
|
||||
{
|
||||
xcodeExporter.xcodeFrameworks.add ("CoreAudioKit");
|
||||
|
||||
if (xcodeExporter.isOSX())
|
||||
xcodeExporter.xcodeFrameworks.add ("AudioUnit");
|
||||
}
|
||||
|
||||
auto frameworks = moduleInfo.moduleInfo [xcodeExporter.isOSX() ? "OSXFrameworks" : "iOSFrameworks"].toString();
|
||||
xcodeExporter.xcodeFrameworks.addTokens (frameworks, ", ", {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue