Don't build common when only building openxr lib

This commit is contained in:
Patrick Nicolas
2025-07-01 21:26:24 +02:00
parent f2760df4b7
commit 29b445e984
+3 -1
View File
@@ -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)