cmake: Always build ht_ctrl_emu driver

This commit is contained in:
Moses Turner 2022-09-19 19:21:13 -05:00
parent 16dffc8d3b
commit ef767af2ad

View file

@ -17,6 +17,10 @@ if(XRT_BUILD_DRIVER_ARDUINO)
list(APPEND ENABLED_DRIVERS arduino)
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)
if(XRT_BUILD_DRIVER_DAYDREAM)
add_library(
drv_daydream STATIC daydream/daydream_device.c daydream/daydream_device.h
@ -260,10 +264,6 @@ if(XRT_BUILD_DRIVER_HANDTRACKING)
target_include_directories(drv_ht PRIVATE ${OpenCV_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
list(APPEND ENABLED_DRIVERS ht)
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)