From 7f5df05bb72ed732fd2c7e0452326a70acb783c8 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 29 Aug 2024 16:35:40 +0200 Subject: [PATCH] Force cmake to use/find static zlibs for pip builds --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4c55d907..892dc956 100644 --- a/setup.py +++ b/setup.py @@ -138,6 +138,7 @@ cmake_args += [ '-DUSE_GUI=ON', '-DUSE_NATIVE_ARCH=OFF', '-DBUILD_ZLIB=ON', + '-DZLIB_USE_STATIC_LIBS=ON', '-DBUILD_OCC=OFF', '-DUSE_OCC=ON', '-DBUILD_FOR_CONDA=ON',