Skip to content

Commit

Permalink
[CMake] Find zlib when building lldb as standalone
Browse files Browse the repository at this point in the history
This addresses the issue introduced by 10b1b4a.
  • Loading branch information
petrhosek committed Jul 24, 2020
1 parent 2c1bea8 commit c86f56e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lldb/cmake/modules/LLDBStandalone.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ endif()
# We append the directory in which LLVMConfig.cmake lives. We expect LLVM's
# CMake modules to be in that directory as well.
list(APPEND CMAKE_MODULE_PATH "${LLVM_DIR}")

if(LLVM_ENABLE_ZLIB)
find_package(ZLIB)
endif()

include(AddLLVM)
include(TableGen)
include(HandleLLVMOptions)
Expand Down

0 comments on commit c86f56e

Please sign in to comment.