diff options
author | Tobias Klausmann <[email protected]> | 2019-03-16 19:56:59 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-17 17:55:29 +0000 |
commit | 29179f58c6ba8099859ea25900214dbbd3814a92 (patch) | |
tree | 3ffe4c57b9fc436c74ce0efeb38ac5def63ee064 | |
parent | 58376c6b9be80c2cb74c7638d961d5af64f7143f (diff) |
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 <[email protected]>
Cc: [email protected]
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/vulkan/util/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vulkan/util/meson.build b/src/vulkan/util/meson.build index 6aba265cc81..7679b2bdda8 100644 --- a/src/vulkan/util/meson.build +++ b/src/vulkan/util/meson.build @@ -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, ) |