d/ht_cemu: enable build if XRT_BUILD_DRIVER_HANDTRACKING is enabled

This commit is contained in:
Simon Zeni 2021-11-30 19:38:20 -05:00 committed by Moses Turner
parent 749792f324
commit ba7f9d9578

View file

@ -236,11 +236,21 @@ if(XRT_BUILD_DRIVER_HANDTRACKING)
)
target_include_directories(drv_ht PRIVATE ${OpenCV_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
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)
target_link_libraries(drv_cemu PRIVATE xrt-interfaces aux_generated_bindings aux_util)
list(APPEND ENABLED_HEADSET_DRIVERS drv_cemu)
add_library(
drv_cemu STATIC
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)
add_library(