From bad0a66744039acbfdf23b13319b3a3e8c2ca3bf Mon Sep 17 00:00:00 2001 From: Bryan Weber Date: Fri, 29 Nov 2024 09:22:01 -0500 Subject: [PATCH] Make ZLIB_ROOT more specific to only find one library --- cibw_before_all_windows.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibw_before_all_windows.sh b/cibw_before_all_windows.sh index fbeaba9..1017a09 100644 --- a/cibw_before_all_windows.sh +++ b/cibw_before_all_windows.sh @@ -44,8 +44,8 @@ nuget install zlib-msvc-x64 -ExcludeVersion -OutputDirectory "$PROJECT_PATH" EXTRA_PATH="$PROJECT_PATH\zlib-msvc-x64\build\native\bin_release" export PATH="$PATH:$EXTRA_PATH" export CL="/I$PROJECT_PATH\zlib-msvc-x64\build\native\include" -export LINK="/LIBPATH:$PROJECT_PATH\zlib-msvc-x64\build\native\lib_release" -export ZLIB_ROOT="$PROJECT_PATH\zlib-msvc-x64\build\native" +export LINK="/LIBPATH:$ZLIB_ROOT" +export ZLIB_ROOT="$PROJECT_PATH\zlib-msvc-x64\build\native\lib_release" # HDF5 export HDF5_VERSION="1.14.5"