]> git.ipfire.org Git - thirdparty/libarchive.git/commit
cmake: use pkgconfig for zstd lookup 1781/head
authorRosen Penev <rosenp@gmail.com>
Fri, 30 Sep 2022 08:51:08 +0000 (01:51 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 30 Sep 2022 08:51:08 +0000 (01:51 -0700)
commit77175a3f8566596138fae21402164fd7578a47fe
tree22457803b8cb3a15ddfd97c9fcbeb740f2c5557f
parent01a280fbf0794f575eb39d718a558896add18d30
cmake: use pkgconfig for zstd lookup

As libzstd typically comes with a pkgconfig file, use it.

Fixes compilation at least on OpenWrt where host paths were leaking into
the build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
CMakeLists.txt