Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: provide correct dependencies for CMake client projects...
...that use a system provided breakpad (instead of our vendored fork). The problem [here](#877) was that people who introduce sentry-native via CMake `find_package()` will get insufficient dependencies which leads to configuration errors in the client CMake project. There are two aspects to this problem: * if the user builds sentry as a shared library it shouldn't be necessary to specify the dependencies. This can be fixed by defining `breakpad` as a `PRIVATE` dependency in that case. This should also be the fix for the Gentoo issue because it uses sentry as a shared library afaict. * if the user builds sentry as a static library, then we must stay with the `PUBLIC` dependency, but we also need to correctly search for breakpad, libcurl and pthread in the context of the client project.
- Loading branch information