Exiv2: Disable brotli

This commit is contained in:
2022-11-01 13:57:50 +00:00
committed by GitHub
parent b27fbcab0d
commit d6e60a94f8
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" ../ || exit 1
cmake -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$PREFIX" -DEXIV2_ENABLE_BROTLI=OFF ../ || exit 1
make -j8 && make install || exit 1

View File

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