From: Nabil Ghodbane Date: Thu, 20 Jan 2022 16:36:35 +0000 (+0100) Subject: zlib: delete zconf.h since generated by CMakeLists.txt X-Git-Tag: V9_9_0~211 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d345cc1cb83d8a39654a023b00d389661d613c16;p=tools%2Fsat_salome.git zlib: delete zconf.h since generated by CMakeLists.txt --- 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:\=/%