diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-11-04 09:28:14 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-11-04 09:28:30 +0200 |
commit | 2d66988f9936328611ff289c1b330f295a121452 (patch) | |
tree | 7e05bf87d2a6cc5392d1e00c53d00ea7815ff090 /platform | |
parent | 1bffd6c73b44b85e5889f54e14b2193940cf5bb1 (diff) | |
download | redot-engine-2d66988f9936328611ff289c1b330f295a121452.tar.gz |
[GDExtension] Improve macOS library loading/export.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/macos/export/export_plugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index 7887e5d0ab..bf5645d9a6 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -65,6 +65,11 @@ void EditorExportPlatformMacOS::get_preset_features(const Ref<EditorExportPreset } else { ERR_PRINT("Invalid architecture"); } + + if (architecture == "universal") { + r_features->push_back("x86_64"); + r_features->push_back("arm64"); + } } String EditorExportPlatformMacOS::get_export_option_warning(const EditorExportPreset *p_preset, const StringName &p_name) const { |