diff options
Diffstat (limited to 'recipes-graphics/userland/files/0023-hello_pi-optionally-build-wayland-specific-app.patch')
-rw-r--r-- | recipes-graphics/userland/files/0023-hello_pi-optionally-build-wayland-specific-app.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-graphics/userland/files/0023-hello_pi-optionally-build-wayland-specific-app.patch b/recipes-graphics/userland/files/0023-hello_pi-optionally-build-wayland-specific-app.patch new file mode 100644 index 0000000..642ee86 --- /dev/null +++ b/recipes-graphics/userland/files/0023-hello_pi-optionally-build-wayland-specific-app.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 5f4324a0008c2e8e1f511432f98bf85c9fffd35c Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Woerner <twoerner@gmail.com> | ||
3 | Date: Fri, 27 Nov 2020 03:18:50 -0500 | ||
4 | Subject: [PATCH] hello_pi: optionally build wayland-specific app | ||
5 | |||
6 | Only build the wayland-specific hello_pi app when building for wayland. | ||
7 | |||
8 | Upstream-status: inappropriate [the wayland example is not part of upstream] | ||
9 | Signed-off-by: Trevor Woerner <twoerner@gmail.com> | ||
10 | --- | ||
11 | host_applications/linux/apps/hello_pi/CMakeLists.txt | 4 +++- | ||
12 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/host_applications/linux/apps/hello_pi/CMakeLists.txt b/host_applications/linux/apps/hello_pi/CMakeLists.txt | ||
15 | index 2849fad..7de3265 100644 | ||
16 | --- a/host_applications/linux/apps/hello_pi/CMakeLists.txt | ||
17 | +++ b/host_applications/linux/apps/hello_pi/CMakeLists.txt | ||
18 | @@ -25,7 +25,9 @@ add_subdirectory(hello_encode) | ||
19 | add_subdirectory(hello_jpeg) | ||
20 | add_subdirectory(hello_videocube) | ||
21 | add_subdirectory(hello_teapot) | ||
22 | -add_subdirectory(hello_wayland) | ||
23 | +if (BUILD_WAYLAND) | ||
24 | + add_subdirectory(hello_wayland) | ||
25 | +endif() | ||
26 | |||
27 | if(BUILD_FONT) | ||
28 | set(VGFONT_SRCS libs/vgfont/font.c libs/vgfont/vgft.c libs/vgfont/graphics.c) | ||