summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-steamvr/CMakeLists.txt')
-rw-r--r--tracker-steamvr/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-steamvr/CMakeLists.txt b/tracker-steamvr/CMakeLists.txt
index 512a49ff..8d14880c 100644
--- a/tracker-steamvr/CMakeLists.txt
+++ b/tracker-steamvr/CMakeLists.txt
@@ -24,13 +24,13 @@ if(APPLE AND NOT opentrack-64bit)
set(steamvr-lib "${steamvr-dll}")
endif()
-if(steamvr-dll)
+if(steamvr-dll AND opentrack-intel)
SET(SDK_VALVE_STEAMVR "" CACHE PATH "Valve's SteamVR")
if(SDK_VALVE_STEAMVR)
otr_module(tracker-steamvr)
install(FILES "${SDK_VALVE_STEAMVR}/bin/${steamvr-dir}/${steamvr-dll}" DESTINATION "${opentrack-hier-pfx}")
- target_include_directories(opentrack-tracker-steamvr SYSTEM PUBLIC "${SDK_VALVE_STEAMVR}/headers")
+ target_include_directories(opentrack-tracker-steamvr SYSTEM PRIVATE "${SDK_VALVE_STEAMVR}/headers")
target_link_libraries(opentrack-tracker-steamvr "${SDK_VALVE_STEAMVR}/lib/${steamvr-dir}/${steamvr-lib}")
endif()
endif()