summaryrefslogtreecommitdiff
path: root/modules/arkit
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arkit')
-rw-r--r--modules/arkit/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/arkit/SCsub b/modules/arkit/SCsub
index 61c0a8248c..7e103d6565 100644
--- a/modules/arkit/SCsub
+++ b/modules/arkit/SCsub
@@ -5,6 +5,9 @@ Import("env_modules")
env_arkit = env_modules.Clone()
+# (iOS) Enable module support
+env_arkit.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
+
# (iOS) Build as separate static library
modules_sources = []
env_arkit.add_source_files(modules_sources, "*.cpp")