]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
zlib: delete zconf.h since generated by CMakeLists.txt
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 20 Jan 2022 16:36:35 +0000 (17:36 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 20 Jan 2022 16:36:35 +0000 (17:36 +0100)
products/compil_scripts/zlib-1.2.5.bat

index 5e6fab8a118c85b84436e5f9c74eb4fb06fa8790..cf5a3c455c5660e233e07775ab1d7ba8433ac4f1 100644 (file)
@@ -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:\=/%