summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-12 12:02:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-12 12:17:32 +0100
commit0afbd732e6b64d1c13cf7e94c11ab783e3e6482c (patch)
tree94d6ee000471fdea686132ae0882110336997dc6 /tracker-steamvr
parent359875cf3328fbf8fbfe83fd8c061dd27d836bc2 (diff)
tracker/steamvr: add broken version
We still need axis-angle <-> rmat and euler with different order helpers.
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/CMakeLists.txt7
-rw-r--r--tracker-steamvr/steamvr.cpp2
2 files changed, 6 insertions, 3 deletions
diff --git a/tracker-steamvr/CMakeLists.txt b/tracker-steamvr/CMakeLists.txt
index 33194c23..db058e31 100644
--- a/tracker-steamvr/CMakeLists.txt
+++ b/tracker-steamvr/CMakeLists.txt
@@ -27,10 +27,13 @@ endif()
if(steamvr-dll)
SET(SDK_VALVE_STEAMVR "" CACHE PATH "Valve's SteamVR")
if(SDK_VALVE_STEAMVR)
- opentrack_boilerplate(opentrack-tracker-steamvr)
+ set(porked NO-INSTALL)
+ opentrack_boilerplate(opentrack-tracker-steamvr ${porked})
+ if(NOT porked)
+ install(FILES "${SDK_VALVE_STEAMVR}/bin/${steamvr-dir}/${steamvr-dll}" DESTINATION "${opentrack-hier-pfx}")
+ endif()
target_include_directories(opentrack-tracker-steamvr SYSTEM PUBLIC "${SDK_VALVE_STEAMVR}/headers")
target_link_libraries(opentrack-tracker-steamvr "${SDK_VALVE_STEAMVR}/lib/${steamvr-dir}/${steamvr-lib}")
- install(FILES "${SDK_VALVE_STEAMVR}/bin/${steamvr-dir}/${steamvr-dll}" DESTINATION "${opentrack-hier-pfx}")
endif()
endif()
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index 55eebc37..9c357a7a 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -2,7 +2,7 @@
#include "steamvr.hpp"
#include "api/plugin-api.hpp"
#include "compat/util.hpp"
-#include "compat/simple-mat.hpp"
+#include "compat/euler.hpp"
#include <cstdlib>
#include <cmath>