[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 16:10:48 +0000 (16:10 +0000)
commit2d4fd0b6d5d5582ebb8b521d807104235d67aee4
treec665239a399918bde5b96653e477859e9cdb4d47
parent57b998565385d68627a0605aa5191f6293d2bf97
[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]