summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-140/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 00:10:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit29e619bcda81386fecaf97049718cebafbfacd2a (patch)
treeb21dee3af5508c5f4846401faf3eb43b48857f5a /tracker-rift-140/CMakeLists.txt
parent47d395c98e2d11840f775e22386167f27c199e1c (diff)
tracker/rift: disable on linux
Diffstat (limited to 'tracker-rift-140/CMakeLists.txt')
-rw-r--r--tracker-rift-140/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/tracker-rift-140/CMakeLists.txt b/tracker-rift-140/CMakeLists.txt
index c0235142..6e54412a 100644
--- a/tracker-rift-140/CMakeLists.txt
+++ b/tracker-rift-140/CMakeLists.txt
@@ -1,3 +1,5 @@
-include(opentrack-rift)
-otr_rift(tracker-rift-140 SDK_RIFT_140)
-SET(SDK_RIFT_140 "" CACHE PATH "libOVR 1.4.0 path for Oculus Rift")
+if(WIN32 OR APPLE)
+ include(opentrack-rift)
+ otr_rift(tracker-rift-140 SDK_RIFT_140)
+ SET(SDK_RIFT_140 "" CACHE PATH "libOVR 1.4.0 path for Oculus Rift")
+endif()