summaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-10 12:13:06 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-10 12:13:06 -0600
commitc4a52e1adea24b81f2a35d86392b663f828dd60b (patch)
treeaa75ff6a26123bc93820fc2c816780aa0f440566 /platform
parent7a42ff474e942a9aa5a8261d3468d30d0853b33c (diff)
parent2d66988f9936328611ff289c1b330f295a121452 (diff)
downloadredot-engine-c4a52e1adea24b81f2a35d86392b663f828dd60b.tar.gz
Merge pull request #98809 from bruvzg/mac_gde_libs_non_uni
[GDExtension] Improve macOS library loading/export.
Diffstat (limited to 'platform')
-rw-r--r--platform/macos/export/export_plugin.cpp5
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 {