mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
cmake: Add XRT_MODULE_MONADO_GUI
This commit is contained in:
parent
ed086ea423
commit
8d2d90432a
|
@ -328,6 +328,7 @@ set(XRT_OXR_RUNTIME_SUFFIX monado CACHE STRING "OpenXR client library suffix")
|
|||
# cmake-format: on
|
||||
|
||||
option(XRT_MODULE_MONADO_CLI "Build monado-cli" ON)
|
||||
option_with_deps(XRT_MODULE_MONADO_GUI "Build monado-gui" DEPENDS XRT_HAVE_SDL2)
|
||||
option(XRT_MODULE_AUX_VIVE "Build aux_vive" ON)
|
||||
|
||||
# Most users won't touch these.
|
||||
|
|
|
@ -15,7 +15,7 @@ if(XRT_MODULE_MONADO_CLI)
|
|||
add_subdirectory(cli)
|
||||
endif()
|
||||
|
||||
if(XRT_HAVE_SDL2)
|
||||
if(XRT_MODULE_MONADO_GUI)
|
||||
add_subdirectory(gui)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue