[all-commits] [llvm/llvm-project] e3a261: [CMake] Include ZLIB_ROOT in LLVMConfig.cmake

Jake Egan via All-commits all-commits at lists.llvm.org
Thu Jan 6 08:25:15 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3a261831bd98bb4dc54bb861a196a7540c4747a
  Author: Jake Egan <Jake.Egan at ibm.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M llvm/cmake/modules/LLVMConfig.cmake.in

  Log Message:
  [CMake] Include ZLIB_ROOT in LLVMConfig.cmake

Include the value of `ZLIB_ROOT` in `LLVMConfig.cmake` so `FindZLIB` can pick it up. This fixes an issue where ZLIB is not found on AIX runtimes despite specifying `-DZLIB_ROOT`.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D116235

More information about the All-commits mailing list