mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
cmake: Add XRT_MODULE_MONADO_CLI
This commit is contained in:
parent
ae7167dbab
commit
ed086ea423
|
@ -327,6 +327,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(XRT_MODULE_AUX_VIVE "Build aux_vive" ON)
|
||||
|
||||
# Most users won't touch these.
|
||||
|
|
|
@ -11,7 +11,9 @@ if(XRT_FEATURE_OPENXR)
|
|||
add_subdirectory(openxr)
|
||||
endif()
|
||||
|
||||
add_subdirectory(cli)
|
||||
if(XRT_MODULE_MONADO_CLI)
|
||||
add_subdirectory(cli)
|
||||
endif()
|
||||
|
||||
if(XRT_HAVE_SDL2)
|
||||
add_subdirectory(gui)
|
||||
|
|
Loading…
Reference in a new issue