ci/build-macos: enable Werror to catch issues quicker

This commit is contained in:
Kacper Michajłow
2023-11-23 10:20:19 +01:00
committed by sfan5
parent ab8cc64b19
commit 36a33b44b9
+2
View File
@@ -12,7 +12,9 @@ fi
PKG_CONFIG_PATH="${FFMPEG_SYSROOT}/lib/pkgconfig/" CC="${CC}" CXX="${CXX}" \
meson setup build \
--werror \
-Dprefix="${MPV_INSTALL_PREFIX}" \
-D{c_args,objc_args}="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
-D{libmpv,tests}=true \
-D{gl,iconv,lcms2,lua,jpeg,plain-gl,zlib}=enabled \
-D{cocoa,coreaudio,gl-cocoa,macos-cocoa-cb,macos-touchbar,videotoolbox-gl}=enabled