Skip to content

Commit 7f5df05

Browse files
committed
Force cmake to use/find static zlibs for pip builds
1 parent 725576f commit 7f5df05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def is_dev_build():
138138
'-DUSE_GUI=ON',
139139
'-DUSE_NATIVE_ARCH=OFF',
140140
'-DBUILD_ZLIB=ON',
141+
'-DZLIB_USE_STATIC_LIBS=ON',
141142
'-DBUILD_OCC=OFF',
142143
'-DUSE_OCC=ON',
143144
'-DBUILD_FOR_CONDA=ON',

0 commit comments

Comments
 (0)