Commit 0e5b1c9b authored by Arun Raghavan's avatar Arun Raghavan
Browse files

build: Add framework deps on macOS and iOS

parent e47b68df
Pipeline #342861 passed with stages
in 1 minute and 58 seconds
......@@ -51,9 +51,24 @@ foreach h : base_headers
)
endforeach
base_os_deps = []
if host_system == 'darwin'
base_os_deps += dependency('appleframeworks', modules: [ 'Foundation' ])
elif host_system == 'ios'
base_os_deps += dependency('appleframeworks',
modules: [
'CFNetwork',
'Foundation',
'Security',
'SystemConfiguration',
'UIKit',
]
)
endif
libbase = static_library('libbase',
base_sources,
dependencies: common_deps,
dependencies: common_deps + base_os_deps,
include_directories: webrtc_inc,
cpp_args : common_cxxflags
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment