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

build: Add library-based absl detection as a fallback

This should help for cases where users can make abseil-cpp available but
wiring up the CMake-build isn't that easy (for example, while
parent 589a7445
Pipeline #333079 failed with stages
in 38 seconds
......@@ -46,9 +46,47 @@ absl_dep = dependency('absl', method : 'cmake',
required : false,
if not absl_dep.found()
warning('Could not find abseil-cpp with CMake, using fallback library detection which may fail.')
absl_libs = [
absl_dep = []
foreach l : absl_libs
absl_dep += cpp.find_library(l, required : false)
if ['darwin', 'ios'].contains(host_system)
os_cflags = ['-DWEBRTC_MAC']
if host_system == 'ios'
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