mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
cmake: Link drv_ht and drv_cemu in t/common instead of vive/survive
This commit is contained in:
parent
5c18f83e8d
commit
16dffc8d3b
|
@ -224,11 +224,6 @@ if(XRT_BUILD_DRIVER_VIVE)
|
||||||
target_link_libraries(drv_vive PRIVATE ${ZLIB_LIBRARIES})
|
target_link_libraries(drv_vive PRIVATE ${ZLIB_LIBRARIES})
|
||||||
target_include_directories(drv_vive PRIVATE ${ZLIB_INCLUDE_DIRS})
|
target_include_directories(drv_vive PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||||
list(APPEND ENABLED_HEADSET_DRIVERS vive)
|
list(APPEND ENABLED_HEADSET_DRIVERS vive)
|
||||||
|
|
||||||
if(XRT_BUILD_DRIVER_HANDTRACKING)
|
|
||||||
target_link_libraries(drv_vive PRIVATE drv_ht)
|
|
||||||
target_link_libraries(drv_vive PRIVATE drv_cemu)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(XRT_HAVE_V4L2)
|
if(XRT_HAVE_V4L2)
|
||||||
|
@ -284,11 +279,6 @@ if(XRT_BUILD_DRIVER_SURVIVE)
|
||||||
PkgConfig::SURVIVE
|
PkgConfig::SURVIVE
|
||||||
)
|
)
|
||||||
list(APPEND ENABLED_HEADSET_DRIVERS survive)
|
list(APPEND ENABLED_HEADSET_DRIVERS survive)
|
||||||
|
|
||||||
if(XRT_BUILD_DRIVER_HANDTRACKING)
|
|
||||||
target_link_libraries(drv_survive PRIVATE drv_ht)
|
|
||||||
target_link_libraries(drv_survive PRIVATE drv_cemu)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(XRT_BUILD_DRIVER_ANDROID)
|
if(XRT_BUILD_DRIVER_ANDROID)
|
||||||
|
|
Loading…
Reference in a new issue