mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
vulkan/util: meson build - add wayland client include
Without this the build breaks with:
In file included from ../src/vulkan/util/vk_util.h:32,
from ../src/vulkan/util/vk_util.c:28:
../include/vulkan/vulkan.h:51:10: fatal error: wayland-client.h: No such file or
directory
#include <wayland-client.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
The above misses the include directory for wayland:
-I/usr/include/wayland
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
58376c6b9b
commit
29179f58c6
1 changed files with 7 additions and 0 deletions
|
|
@ -36,10 +36,17 @@ vk_enum_to_str = custom_target(
|
|||
],
|
||||
)
|
||||
|
||||
vulkan_util_deps = []
|
||||
|
||||
if with_platform_wayland
|
||||
vulkan_util_deps += dep_wayland_client
|
||||
endif
|
||||
|
||||
libvulkan_util = static_library(
|
||||
'vulkan_util',
|
||||
[files_vulkan_util, vk_enum_to_str],
|
||||
include_directories : inc_common,
|
||||
dependencies : vulkan_util_deps,
|
||||
c_args : [c_vis_args, vulkan_wsi_args],
|
||||
build_by_default : false,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue