libstrawberry-common: check for library/includes for backtrace() (#364)

This is a non-standard header, so it should be checked properly.
This fixes compilation with musl libc and possibly other C library
implementations.
This commit is contained in:
Daniel Kolesa
2020-02-06 20:04:23 +01:00
committed by GitHub
parent 4bd4d3ae03
commit 814bb3006c
4 changed files with 39 additions and 4 deletions

View File

@@ -66,6 +66,7 @@ endif ()
find_package(PkgConfig REQUIRED)
find_package(Boost REQUIRED)
find_package(Threads)
find_package(Backtrace)
find_package(GnuTLS)
find_package(Protobuf REQUIRED)
find_library(PROTOBUF_STATIC_LIBRARY libprotobuf.a libprotobuf)