CMake: GH1989, add wayland include dir to cmake
On some Linux distributions (e.g openSUSE) the wayland headers are in
a subdirectory.
Adding WAYLAND_CLIENT_INCLUDE_DIR to include_directories in CMakeLists.txt
will fix this issue.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4ece0d..af7a261 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,7 @@
if (BUILD_WSI_WAYLAND_SUPPORT)
find_package(Wayland REQUIRED)
+ include_directories(${WAYLAND_CLIENT_INCLUDE_DIR})
endif()
if (BUILD_WSI_MIR_SUPPORT)