mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[GDExtension] Improve macOS library loading/export.
This commit is contained in:
parent
1bffd6c73b
commit
2d66988f99
3 changed files with 52 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue