From da496d215902cb04824c712b673454ee80e4797e Mon Sep 17 00:00:00 2001 From: John Demme Date: Mon, 11 Nov 2024 18:39:22 +0000 Subject: [PATCH] Build zlib --- lib/Dialect/ESI/runtime/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Dialect/ESI/runtime/CMakeLists.txt b/lib/Dialect/ESI/runtime/CMakeLists.txt index 1178302db27d..1d0a36cc2969 100644 --- a/lib/Dialect/ESI/runtime/CMakeLists.txt +++ b/lib/Dialect/ESI/runtime/CMakeLists.txt @@ -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( @@ -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)