From d86bf52b08225eeda980ecc1f613db630c7c2b98 Mon Sep 17 00:00:00 2001 From: Robert Braun Date: Thu, 17 Oct 2024 15:52:22 +0200 Subject: [PATCH] Fix release build for zlib --- dependencies/setupZlib.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependencies/setupZlib.bat b/dependencies/setupZlib.bat index 99d7e3ad3..b932efc89 100644 --- a/dependencies/setupZlib.bat +++ b/dependencies/setupZlib.bat @@ -12,9 +12,9 @@ call setHopsanBuildPaths.bat mkdir %builddir% cd %builddir% -cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -G %HOPSAN_BUILD_CMAKE_GENERATOR% -DCMAKE_INSTALL_PREFIX="%installdir%" %codedir% -cmake --build . --parallel 8 -cmake --build . --target install +cmake -Wno-dev -G %HOPSAN_BUILD_CMAKE_GENERATOR% -DCMAKE_INSTALL_PREFIX="%installdir%" %codedir% +cmake --build . --config Release --parallel 8 +cmake --build . --config Release --target install cd %basedir% echo.