summaryrefslogtreecommitdiff
path: root/platform/ios/export/godot_plugin_config.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-10 14:09:58 +0200
committerGitHub <noreply@github.com>2022-08-10 14:09:58 +0200
commit1b06b668c9f0c42927a427f9c9057711a4adafe4 (patch)
tree6313fdd8d784fd160236d70f436ffcf034f0a40d /platform/ios/export/godot_plugin_config.cpp
parent15f918a111f99441fcbfdfb3caefc3a1daf3dfc5 (diff)
parentc99e8aeac3122393f47bd71dcb552bb6ff4cf949 (diff)
Merge pull request #49829 from naithar/feature/ios-plugins-swift-4.0
Diffstat (limited to 'platform/ios/export/godot_plugin_config.cpp')
-rw-r--r--platform/ios/export/godot_plugin_config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/export/godot_plugin_config.cpp b/platform/ios/export/godot_plugin_config.cpp
index 9118b95337..24a95a11a4 100644
--- a/platform/ios/export/godot_plugin_config.cpp
+++ b/platform/ios/export/godot_plugin_config.cpp
@@ -184,6 +184,7 @@ PluginConfigIOS PluginConfigIOS::load_plugin_config(Ref<ConfigFile> config_file,
String config_base_dir = path.get_base_dir();
plugin_config.name = config_file->get_value(PluginConfigIOS::CONFIG_SECTION, PluginConfigIOS::CONFIG_NAME_KEY, String());
+ plugin_config.use_swift_runtime = config_file->get_value(PluginConfigIOS::CONFIG_SECTION, PluginConfigIOS::CONFIG_USE_SWIFT_KEY, false);
plugin_config.initialization_method = config_file->get_value(PluginConfigIOS::CONFIG_SECTION, PluginConfigIOS::CONFIG_INITIALIZE_KEY, String());
plugin_config.deinitialization_method = config_file->get_value(PluginConfigIOS::CONFIG_SECTION, PluginConfigIOS::CONFIG_DEINITIALIZE_KEY, String());