From b52b3ec649bd34394a63f83fe29dcfc90de20800 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 6 May 2020 15:44:31 -0500 Subject: [PATCH] meson: Improve build when sdl2 not available Unfortunately doesn't fix 32-bit meson CI --- src/xrt/targets/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/targets/meson.build b/src/xrt/targets/meson.build index f5d3c9122..202afa036 100644 --- a/src/xrt/targets/meson.build +++ b/src/xrt/targets/meson.build @@ -58,7 +58,7 @@ subdir('common') subdir('openxr') subdir('cli') -if sdl2.found() +if get_option('gui').enabled() or (get_option('gui').auto() and sdl2.found()) subdir('gui') endif