From a678ceaeae06c7659ee89eb103d73742eb345dd8 Mon Sep 17 00:00:00 2001 From: Sergey Minakov Date: Mon, 22 Jun 2020 23:15:52 +0300 Subject: [PATCH] SCons: Enable modules for iOS --- platform/iphone/SCsub | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub index 58f4ab1335c..e271b18c146 100644 --- a/platform/iphone/SCsub +++ b/platform/iphone/SCsub @@ -19,6 +19,9 @@ iphone_lib = [ env_ios = env.Clone() ios_lib = env_ios.add_library("iphone", iphone_lib) +# (iOS) Enable module support +env_ios.Append(CCFLAGS=["-fmodules", "-fcxx-modules"]) + def combine_libs(target=None, source=None, env=None): lib_path = target[0].srcnode().abspath