From 16dffc8d3b86573fd16ac941d1a858775ac4e4a8 Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Wed, 21 Sep 2022 02:01:25 +0100 Subject: [PATCH] cmake: Link drv_ht and drv_cemu in t/common instead of vive/survive --- src/xrt/drivers/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/xrt/drivers/CMakeLists.txt b/src/xrt/drivers/CMakeLists.txt index fa70329cb..3e858c3e5 100644 --- a/src/xrt/drivers/CMakeLists.txt +++ b/src/xrt/drivers/CMakeLists.txt @@ -224,11 +224,6 @@ if(XRT_BUILD_DRIVER_VIVE) target_link_libraries(drv_vive PRIVATE ${ZLIB_LIBRARIES}) target_include_directories(drv_vive PRIVATE ${ZLIB_INCLUDE_DIRS}) 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() if(XRT_HAVE_V4L2) @@ -284,11 +279,6 @@ if(XRT_BUILD_DRIVER_SURVIVE) PkgConfig::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() if(XRT_BUILD_DRIVER_ANDROID)