diff options
author | vadym.shovkoplias <vadim.shovkoplias@gmail.com> | 2018-05-11 18:01:33 +0300 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-05-16 09:21:15 -0700 |
commit | b19d8c529b158eb6ad14884e4d7255634ec27a50 (patch) | |
tree | 5d5fd0f4209290c2c2316335da664b83d6b92cbb | |
parent | e739c3c940cdaca159ca897ec3854592528d3344 (diff) |
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=106477
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
-rw-r--r-- | tests/util/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt index 0508eb030..3fa67d7f6 100644 --- a/tests/util/CMakeLists.txt +++ b/tests/util/CMakeLists.txt @@ -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 |