Build: fix MESA failing to build with missing EXPAT dependency

This commit is contained in:
Campbell Barton 2022-12-13 11:34:41 +11:00
parent 6ce95c34ae
commit 2761f7c4a5
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ set(MESA_EXTRA_FLAGS
# At some point we will likely want to support Wayland.
# Disable for now since it's not officially supported.
-Dplatforms=x11
# Needed to find the local expat.
--pkg-config-path=${LIBDIR}/expat/lib/pkgconfig
--native-file ${BUILD_DIR}/mesa/tmp/native-file.ini
)
@ -53,6 +55,8 @@ add_dependencies(
external_mesa
ll
external_zlib
# Run-time dependency.
external_expat
# Needed for `MESON`.
external_python_site_packages
)