From 61407ad3d3a4c3d0f6dbd2347765ca639d3c3832 Mon Sep 17 00:00:00 2001 From: Lubos Date: Wed, 7 Feb 2024 11:55:25 +0100 Subject: [PATCH] Option to skip building hello_xr test --- src/tests/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 5828ce61a..5519d9622 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -15,9 +15,12 @@ # limitations under the License. add_subdirectory(c_compile_test) -add_subdirectory(hello_xr) add_subdirectory(list_json) +if(NOT SKIP_HELLO_XR) + add_subdirectory(hello_xr) +endif() + if(NOT ANDROID) add_subdirectory(list) if(BUILD_LOADER AND BUILD_API_LAYERS)