cmake: Add XRT_MODULE_MONADO_CLI

This commit is contained in:
Moshi Turner 2023-03-03 14:59:33 -06:00
parent ae7167dbab
commit ed086ea423
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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)