diff options
Diffstat (limited to 'tracker-rift-140/CMakeLists.txt')
-rw-r--r-- | tracker-rift-140/CMakeLists.txt | 8 |
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() |