mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
meson: Fix Asahi build on macOS
!19950 introduced a dependency between NIR and Vulkan headers, and the Vulkan headers try to include X11 headers we cannot find on macOS. Disable this (we have no plans for Vulkan on the macOS testing platform anyway). Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21059>
This commit is contained in:
parent
bfa7ec0aa0
commit
4ca4a05627
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ if with_platform_wayland
|
|||
#add this once aco and other places can build with it
|
||||
#cpp_args += '-DVK_USE_PLATFORM_WAYLAND_KHR'
|
||||
endif
|
||||
if with_platform_x11
|
||||
if with_platform_x11 and host_machine.system() != 'darwin'
|
||||
c_args += ['-DVK_USE_PLATFORM_XCB_KHR', '-DVK_USE_PLATFORM_XLIB_KHR']
|
||||
#add this once aco and other places can build with it
|
||||
#cpp_args += ['-DVK_USE_PLATFORM_XCB_KHR', '-DVK_USE_PLATFORM_XLIB_KHR']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue