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

CMake: Add inter-app-audio entitlement to iOS AU hosts

This commit is contained in:
reuk 2023-02-07 19:38:01 +00:00
parent ca47dc66a3
commit 22a3660376
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
2 changed files with 2 additions and 0 deletions

View file

@ -270,6 +270,7 @@ function(_juce_write_configure_time_info target)
_juce_append_target_property(file_content APP_GROUP_IDS ${target} JUCE_APP_GROUP_IDS)
_juce_append_target_property(file_content IS_PLUGIN ${target} JUCE_IS_PLUGIN)
_juce_append_target_property(file_content ICLOUD_PERMISSIONS_ENABLED ${target} JUCE_ICLOUD_PERMISSIONS_ENABLED)
_juce_append_target_property(file_content IS_AU_PLUGIN_HOST ${target} JUCE_PLUGINHOST_AU)
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
_juce_append_record(file_content IS_IOS 1)

View file

@ -333,6 +333,7 @@ juce::build_tools::EntitlementOptions parseEntitlementsOptions (const juce::File
updateField ("IS_IOS", result.isiOS);
updateField ("IS_PLUGIN", result.isAudioPluginProject);
updateField ("IS_AU_PLUGIN_HOST", result.isAUPluginHost);
updateField ("ICLOUD_PERMISSIONS_ENABLED", result.isiCloudPermissionsEnabled);
updateField ("PUSH_NOTIFICATIONS_ENABLED", result.isPushNotificationsEnabled);
updateField ("APP_GROUPS_ENABLED", result.isAppGroupsEnabled);