[PATCH] D134990: [CMake] Provide Findzstd module

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 14:30:29 PDT 2022


MaskRay added a comment.

Thanks for adding the support! However, I get such a warning and my built `ninja lld` does not link against libzstd...

  CMake Warning (dev) at /usr/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
    The package name passed to `find_package_handle_standard_args` (ZSTD) does
    not match the name of the calling package (zstd).  This can lead to
    problems in calling code that expects `find_package` result variables
    (e.g., `_FOUND`) to follow a certain pattern.
  Call Stack (most recent call first):
    cmake/modules/Findzstd.cmake:16 (find_package_handle_standard_args)
    cmake/config-ix.cmake:149 (find_package)
    CMakeLists.txt:843 (include)
  This warning is for project developers.  Use -Wno-dev to suppress it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134990



More information about the llvm-commits mailing list