mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-21 06:01:43 +00:00
d/ht_cemu: enable build if XRT_BUILD_DRIVER_HANDTRACKING is enabled
This commit is contained in:
parent
749792f324
commit
ba7f9d9578
|
@ -236,11 +236,21 @@ if(XRT_BUILD_DRIVER_HANDTRACKING)
|
||||||
)
|
)
|
||||||
target_include_directories(drv_ht PRIVATE ${OpenCV_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
|
target_include_directories(drv_ht PRIVATE ${OpenCV_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
|
||||||
list(APPEND ENABLED_DRIVERS ht)
|
list(APPEND ENABLED_DRIVERS ht)
|
||||||
endif()
|
|
||||||
|
|
||||||
add_library(drv_cemu STATIC ht_ctrl_emu/ht_ctrl_emu.cpp ht_ctrl_emu/ht_ctrl_emu_interface.h)
|
add_library(
|
||||||
target_link_libraries(drv_cemu PRIVATE xrt-interfaces aux_generated_bindings aux_util)
|
drv_cemu STATIC
|
||||||
list(APPEND ENABLED_HEADSET_DRIVERS drv_cemu)
|
ht_ctrl_emu/ht_ctrl_emu.cpp
|
||||||
|
ht_ctrl_emu/ht_ctrl_emu_interface.h
|
||||||
|
)
|
||||||
|
target_link_libraries(
|
||||||
|
drv_cemu
|
||||||
|
PRIVATE
|
||||||
|
xrt-interfaces
|
||||||
|
aux_generated_bindings
|
||||||
|
aux_util
|
||||||
|
)
|
||||||
|
list(APPEND ENABLED_HEADSET_DRIVERS drv_cemu)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(XRT_BUILD_DRIVER_SURVIVE)
|
if(XRT_BUILD_DRIVER_SURVIVE)
|
||||||
add_library(
|
add_library(
|
||||||
|
|
Loading…
Reference in a new issue