summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 13:55:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 13:55:52 +0100
commit6e0d28017cac290570014ddcd98fb50c3953642e (patch)
tree2d2972273808b4e7cea448477d550e8c8e26b6e5 /tracker-steamvr
parent3fabee84281da18ad1ce7df2f9099c7ec6678614 (diff)
tracker/steamvr: maybe support modern osx
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/tracker-steamvr/CMakeLists.txt b/tracker-steamvr/CMakeLists.txt
index 19832b11..dc487cba 100644
--- a/tracker-steamvr/CMakeLists.txt
+++ b/tracker-steamvr/CMakeLists.txt
@@ -21,8 +21,13 @@ if(WIN32)
set(steamvr-lib "openvr_api.lib")
endif()
-if(APPLE AND NOT opentrack-64bit)
- set(steamvr-dir "osx32")
+if(APPLE)
+ # expect user compiled it as a non-framework version
+ if(opentrack-64bit)
+ set(steamvr-dir "osx64")
+ else()
+ set(steamvr-dir "osx32")
+ endif()
set(steamvr-dll "libopenvr_api.dylib")
endif()