[CMake] Provide Findzstd module
authorPetr Hosek <phosek@google.com>
Fri, 30 Sep 2022 20:33:13 +0000 (20:33 +0000)
committerPetr Hosek <phosek@google.com>
Thu, 6 Oct 2022 08:22:51 +0000 (08:22 +0000)
commit849059861c63f5d89a6956191ecb8da8acf16bdb
treed3e894ae95c750e7661c3a0e3d9a42aec191b231
parent3d0b5f019e85eab5e7153516d3f6e9e4f2b9135b
[CMake] Provide Findzstd module

This module is used to find the system zstd library. The imported
targets intentionally use the same name as the generate zstd config
CMake file so these can be used interchangeably.

Differential Revision: https://reviews.llvm.org/D134990
llvm/cmake/modules/Findzstd.cmake [new file with mode: 0644]