From d345cc1cb83d8a39654a023b00d389661d613c16 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 20 Jan 2022 17:36:35 +0100 Subject: [PATCH] zlib: delete zconf.h since generated by CMakeLists.txt --- products/compil_scripts/zlib-1.2.5.bat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/products/compil_scripts/zlib-1.2.5.bat b/products/compil_scripts/zlib-1.2.5.bat index 5e6fab8..cf5a3c4 100644 --- a/products/compil_scripts/zlib-1.2.5.bat +++ b/products/compil_scripts/zlib-1.2.5.bat @@ -19,10 +19,17 @@ if "%SALOME_APPLICATION_NAME%" == "URANIE" ( ) if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL% + +REM remove zconf.h - one could also patch the CMakeLists.txt file... +cd %SOURCE_DIR% +rm -f zconf.h + + REM clean BUILD directory if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR% mkdir %BUILD_DIR% + cd %BUILD_DIR% set CMAKE_OPTIONS= set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_PREFIX:STRING=%PRODUCT_INSTALL:\=/% -- 2.39.2