From 011c62ee59d9675095d40dee5079c91348959e91 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 5 Oct 2013 12:52:04 +0200 Subject: add recenter spring cache option for Rift Signed-off-by: Stanislaw Halik --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ffb1c384..8ae29e4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,10 +22,15 @@ endif() IF(WIN32) SET(SDK_SM_FACEAPI_PATH "" CACHE PATH "SeeingMachines FaceAPI SDK path") SET(SDK_RIFT "" CACHE PATH "libOVR path") + SET(SDK_RIFT_RECENTRE_SPRING TRUE CACHE BOOL "recenter yaw aggressively") SET(SDK_HYDRA "" CACHE PATH "libSixense path") SET(SDK_VJOY "" CACHE PATH "VJoy SDK path") ENDIF() +if(SDK_RIFT_RECENTRE_SPRING) + add_definitions(-DOPENTRACK_RIFT_RECENTRE_SPRING) +endif() + file(GLOB opentrack-faceapi-wrapper-c "faceapi/*.cpp") include_directories(${CMAKE_SOURCE_DIR}) -- cgit v1.2.3