jeremy-rifkin / cpptrace

Simple, portable, and self-contained stacktrace library for C++11 and newer
MIT License
621 stars 64 forks source link

Improve zstd handling #115

Closed jeremy-rifkin closed 4 months ago

jeremy-rifkin commented 4 months ago

This PR adds a Findzstd.cmake script to cpptrace's install so that find_dependency(zstd) can succeed on installations that don't include zstdConfig.cmake/zstd-config.cmake.

The reason find_dependency(zstd) is needed in cpptrace's config, despite find_dependency(zstd) also being in libdwarf's cmake and cpptrace not needing zstd, is that libdwarf's cmake doesn't define zstd::libzstd_static / zstd::libzstd_shared targets.

This should fix #112.

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud