From 6fb11d5c209be58861fcd1bd4a3db17ab5697247 Mon Sep 17 00:00:00 2001 From: Andrew Cochrane Date: Wed, 11 Oct 2023 11:51:44 -0600 Subject: [PATCH] tell build of libsurvive to USE_HIDAPI for whatever reason, without this, the tracker doesn't get loaded into the libsurvive_world frame --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ba3ae9..d92627b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,7 @@ externalproject_add(libsurvive PATCH_COMMAND echo "sed -i 's/, tan$/, tan, Abs/' src/generated/common_math.py" \> patch && bash patch CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/libsurvive-install + -DUSE_HIDAPI=1 -DCMAKE_BUILD_TYPE=Release )