From 29b445e9844ef2ebea6d5057c0efd1e769f47ce1 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 1 Jul 2025 21:26:24 +0200 Subject: [PATCH] Don't build common when only building openxr lib --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 94cafdf2..07cdb545 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,7 +296,9 @@ FetchContent_Declare(monado ) add_subdirectory(external) -add_subdirectory(common) +if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR) + add_subdirectory(common) +endif() if (WIVRN_BUILD_CLIENT) add_subdirectory(client)