Commit b19d8c52 authored by Vadym Shovkoplias's avatar Vadym Shovkoplias Committed by Dylan Baker

util: add includes when building for Wayland

This fixes following compile issue on OpenSUSE Tumbleweed:

piglit_wl_framework.c:33:10: fatal error: wayland-client.h:
No such file or directory #include <wayland-client.h>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106477Signed-off-by: 's avatarSergii Romantsov <sergii.romantsov@globallogic.com>
Reviewed-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan.c.baker@intel.com>
parent e739c3c9
......@@ -94,6 +94,9 @@ if(PIGLIT_USE_WAFFLE)
list(APPEND UTIL_GL_SOURCES
piglit-framework-gl/piglit_wl_framework.c
)
list(APPEND UTIL_GL_INCLUDES
${WAYLAND_wayland-client_INCLUDEDIR}
)
endif()
if(PIGLIT_HAS_X11)
list(APPEND UTIL_GL_SOURCES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment