Commit b3fe7aee authored by Arun Raghavan's avatar Arun Raghavan
Browse files

build: Add framework deps on macOS and iOS

parent e47b68df
Pipeline #342826 passed with stages
in 1 minute and 22 seconds
...@@ -51,9 +51,25 @@ foreach h : base_headers ...@@ -51,9 +51,25 @@ foreach h : base_headers
) )
endforeach endforeach
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',
]
)
else
base_os_deps = []
endif
libbase = static_library('libbase', libbase = static_library('libbase',
base_sources, base_sources,
dependencies: common_deps, dependencies: common_deps + base_os_deps,
include_directories: webrtc_inc, include_directories: webrtc_inc,
cpp_args : common_cxxflags 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