summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch')
-rw-r--r--meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
new file mode 100644
index 0000000000..70bb55053d
--- /dev/null
+++ b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
@@ -0,0 +1,29 @@
1From cb8e4b99fcfe81399e3e6d922156db4a48a39a8e Mon Sep 17 00:00:00 2001
2From: Pascal Bach <pascal.bach@siemens.com>
3Date: Thu, 4 Oct 2018 14:43:17 +0200
4Subject: [PATCH] cmake: use proper WAYLAND_INCLUDE_DIRS variable
5
6WAYLAND_wayland-client_INCLUDEDIR is an internal variable and is not correctly
7set when cross compiling. WAYLAND_INCLUDE_DIRS includes the correct path even
8when cross compiling.
9
10Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
11
12Upstream-Status: Submitted [piglit@lists.freedesktop.org]
13---
14 tests/util/CMakeLists.txt | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
18index 1714ab41f..3b67aa7da 100644
19--- a/tests/util/CMakeLists.txt
20+++ b/tests/util/CMakeLists.txt
21@@ -97,7 +97,7 @@ if(PIGLIT_USE_WAFFLE)
22 piglit-framework-gl/piglit_wl_framework.c
23 )
24 list(APPEND UTIL_GL_INCLUDES
25- ${WAYLAND_wayland-client_INCLUDEDIR}
26+ ${WAYLAND_INCLUDE_DIRS}
27 )
28 endif()
29 if(PIGLIT_HAS_X11)