[PATCH] D135457: [llvm] [cmake] Support finding both static and shared zstd via FindZstd

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 22:34:36 PDT 2022


phosek added a comment.

Alternative that I'd slightly prefer would be to only search for static library when `LLVM_USE_STATIC_ZSTD` is enabled, otherwise try both as before. That's more in line with what the other CMake modules do. I haven't found any module that would try to find both shared and static library at the same time and I'm not sure if there's a use case for it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135457/new/

https://reviews.llvm.org/D135457



More information about the llvm-commits mailing list