126e4beaaSAndrew GeisslerFrom 5f4324a0008c2e8e1f511432f98bf85c9fffd35c Mon Sep 17 00:00:00 2001
226e4beaaSAndrew GeisslerFrom: Trevor Woerner <twoerner@gmail.com>
326e4beaaSAndrew GeisslerDate: Fri, 27 Nov 2020 03:18:50 -0500
426e4beaaSAndrew GeisslerSubject: [PATCH] hello_pi: optionally build wayland-specific app
526e4beaaSAndrew Geissler
626e4beaaSAndrew GeisslerOnly build the wayland-specific hello_pi app when building for wayland.
726e4beaaSAndrew Geissler
8*864cc43bSPatrick WilliamsUpstream-Status: Inappropriate [the wayland example is not part of upstream]
926e4beaaSAndrew GeisslerSigned-off-by: Trevor Woerner <twoerner@gmail.com>
1026e4beaaSAndrew Geissler---
1126e4beaaSAndrew Geissler host_applications/linux/apps/hello_pi/CMakeLists.txt | 4 +++-
1226e4beaaSAndrew Geissler 1 file changed, 3 insertions(+), 1 deletion(-)
1326e4beaaSAndrew Geissler
1426e4beaaSAndrew Geisslerdiff --git a/host_applications/linux/apps/hello_pi/CMakeLists.txt b/host_applications/linux/apps/hello_pi/CMakeLists.txt
1526e4beaaSAndrew Geisslerindex 2849fad..7de3265 100644
1626e4beaaSAndrew Geissler--- a/host_applications/linux/apps/hello_pi/CMakeLists.txt
1726e4beaaSAndrew Geissler+++ b/host_applications/linux/apps/hello_pi/CMakeLists.txt
1826e4beaaSAndrew Geissler@@ -25,7 +25,9 @@ add_subdirectory(hello_encode)
1926e4beaaSAndrew Geissler add_subdirectory(hello_jpeg)
2026e4beaaSAndrew Geissler add_subdirectory(hello_videocube)
2126e4beaaSAndrew Geissler add_subdirectory(hello_teapot)
2226e4beaaSAndrew Geissler-add_subdirectory(hello_wayland)
2326e4beaaSAndrew Geissler+if (BUILD_WAYLAND)
2426e4beaaSAndrew Geissler+    add_subdirectory(hello_wayland)
2526e4beaaSAndrew Geissler+endif()
2626e4beaaSAndrew Geissler
2726e4beaaSAndrew Geissler if(BUILD_FONT)
2826e4beaaSAndrew Geissler set(VGFONT_SRCS libs/vgfont/font.c libs/vgfont/vgft.c libs/vgfont/graphics.c)
29