|
@@ -6,6 +6,9 @@ Import("env_modules")
|
|
|
env_camera = env_modules.Clone()
|
|
|
|
|
|
if env["platform"] == "iphone":
|
|
|
+ # (iOS) Enable module support
|
|
|
+ env_camera.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
|
|
|
+
|
|
|
# (iOS) Build as separate static library
|
|
|
modules_sources = []
|
|
|
env_camera.add_source_files(modules_sources, "register_types.cpp")
|