summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-tobii/CMakeLists.txt')
-rw-r--r--tracker-tobii/CMakeLists.txt17
1 files changed, 7 insertions, 10 deletions
diff --git a/tracker-tobii/CMakeLists.txt b/tracker-tobii/CMakeLists.txt
index 8551c8fa..c70a874c 100644
--- a/tracker-tobii/CMakeLists.txt
+++ b/tracker-tobii/CMakeLists.txt
@@ -1,17 +1,14 @@
-# https://developer.tobii.com/download-packages/stream-engine-4-1-0-for-windows-x86
-# https://developer.tobii.com/download-packages/stream-engine-4-1-0-for-windows-x64
-set(SDK_TOBII "" CACHE PATH "Tobii SDK path")
-if(SDK_TOBII)
+# https://developer.tobii.com/download-packages/tobii-xr-native-sdk/
+set(SDK_TOBII "" CACHE PATH "Tobii Stream Engine path")
+if(WIN32 AND SDK_TOBII)
otr_module(tracker-tobii)
+
target_include_directories(${self} SYSTEM PRIVATE "${SDK_TOBII}/include")
+ target_link_directories(${self} PRIVATE "${SDK_TOBII}/lib/tobii")
set(dll "${SDK_TOBII}/lib/tobii/tobii_stream_engine.dll")
- set(lib "${SDK_TOBII}/lib/tobii/tobii_stream_engine.lib")
-
- message(${self})
- message(${dll})
- message(${lib})
+ set(lib tobii_stream_engine.lib)
- install(FILES ${dll} DESTINATION ${opentrack-hier-pfx})
target_link_libraries(${self} ${lib})
+ install(FILES ${dll} DESTINATION ${opentrack-libexec})
endif()