diff --git a/clang/cmake/caches/Release.cmake b/clang/cmake/caches/Release.cmake index aedbd1a25fb38..0725960367a97 100644 --- a/clang/cmake/caches/Release.cmake +++ b/clang/cmake/caches/Release.cmake @@ -146,3 +146,4 @@ set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING) if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin") set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL) endif() +set_final_stage_var(ZLIB_USE_STATIC_LIBS "ON" BOOL)