- Avoid leaking abseil dependency to shared library consumers --- CMakeLists.txt.orig 2020-07-15 02:27:54 UTC +++ CMakeLists.txt @@ -107,8 +107,11 @@ if(NOT "${LIBGAV1_EXE_LINKER_FLAGS}" STREQUAL "") separate_arguments(LIBGAV1_EXE_LINKER_FLAGS) endif() +find_package(absl) +if (NOT TARGET absl::base) add_subdirectory("${libgav1_root}/third_party/abseil-cpp" "${libgav1_abseil_build}" EXCLUDE_FROM_ALL) +endif() libgav1_reset_target_lists() libgav1_add_dsp_targets()