Exiv2: Disable inih

This commit is contained in:
2023-02-05 00:42:47 +00:00
committed by GitHub
parent a0bb811b4c
commit 68e2c7054b
2 changed files with 2 additions and 1 deletions

View File

@@ -2,5 +2,5 @@ export PREFIX=`pwd`/clib
mkdir -p cbuild && cd cbuild || exit 1
git clone --depth 1 'https://github.com/Exiv2/exiv2' && cd exiv2 || exit 1
mkdir -p build && cd build || exit 1
cmake -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$PREFIX" -DEXIV2_ENABLE_BROTLI=OFF ../ || exit 1
cmake -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$PREFIX" -DEXIV2_ENABLE_BROTLI=OFF -DEXIV2_ENABLE_INIH=OFF ../ || exit 1
make -j8 && make install || exit 1

View File

@@ -22,6 +22,7 @@ cmake ^
-DCMAKE_INSTALL_PREFIX=%PREFIX% ^
-DINSTALL_PKGCONFIG_DIR=%PKG_CONFIG_DIR% ^
-DEXIV2_ENABLE_BROTLI=OFF ^
-DEXIV2_ENABLE_INIH=OFF ^
../ || EXIT /B %ERRORLEVEL%
ninja && ninja install || ninja && ninja install || EXIT /B %ERRORLEVEL%
ENDLOCAL