diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-24 22:49:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 22:49:39 +0200 |
commit | 8f5005b3eb6087eafae0a32e1508fab2434ccd19 (patch) | |
tree | d6447e60829098eb0b52e0383ae06f3bf053691a /modules | |
parent | 7dac5bd2b01e02ecbc76565e765c8196707cbd6d (diff) | |
parent | c3e7aeb279d78534124f571d72649f45c885f520 (diff) |
Merge pull request #39779 from naithar/feature/ios-modules-master
Enable iOS modules and fix missing symbols errors (4.0)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/arkit/SCsub | 3 | ||||
-rw-r--r-- | modules/camera/SCsub | 3 |
2 files changed, 6 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") diff --git a/modules/camera/SCsub b/modules/camera/SCsub index 63c4e9fbab..631a65bde2 100644 --- a/modules/camera/SCsub +++ b/modules/camera/SCsub @@ -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") |