Skip to content

Commit

Permalink
Build zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Nov 11, 2024
1 parent 4b79ed4 commit da496d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/Dialect/ESI/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ if(ESI_STATIC_RUNTIME)
endif()

# We need zlib to uncompress the manifest.
find_package(ZLIB)
if(ZLIB_FOUND)
set(ZLIB_LIBRARY ZLIB::ZLIB)
else()
# find_package(ZLIB)
# if(ZLIB_FOUND)
# set(ZLIB_LIBRARY ZLIB::ZLIB)
# else()
message("-- zlib not found, pulling down zlib from git")
set(ZLIB_BUILD_EXAMPLES OFF)
FetchContent_Declare(
Expand All @@ -72,7 +72,7 @@ else()
else()
set(ZLIB_LIBRARY zlib)
endif()
endif()
# endif()

# In a Python wheel build, we need to install libraries to different places.
option(WHEEL_BUILD "Set up the build for a Python wheel." OFF)
Expand Down

0 comments on commit da496d2

Please sign in to comment.