From 994454eda5f3d2cf52a655b85d6f8314ebfec8e3 Mon Sep 17 00:00:00 2001 From: iaomw Date: Mon, 17 Jun 2024 20:32:33 +0800 Subject: [PATCH] fix windows build --- build.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.ps1 b/build.ps1 index 081e560773..f8ef4525cd 100644 --- a/build.ps1 +++ b/build.ps1 @@ -71,6 +71,7 @@ Write-Output "Making minimum build with Optix..." cmake -G Ninja -B build -DCMAKE_BUILD_TYPE="${b}" ` -DCMAKE_TOOLCHAIN_FILE="${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" ` + -DDEACTIVATE_ZLIB=ON ` -DZENO_WITH_zenvdb:BOOL=ON ` -DZENO_SYSTEM_OPENVDB:BOOL=OFF ` -DZENO_WITH_ZenoFX:BOOL=ON ` @@ -86,6 +87,7 @@ Write-Output "Making full build..." cmake -G Ninja -B build -DCMAKE_BUILD_TYPE="${b}" ` -DCMAKE_TOOLCHAIN_FILE="${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" ` + -DDEACTIVATE_ZLIB=ON ` -DZENO_WITH_CUDA:BOOL=ON ` -DZENO_WITH_ZenoFX:BOOL=ON ` -DZENO_ENABLE_OPTIX:BOOL=ON `