diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-19 09:35:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-19 14:17:15 +0100 |
commit | 5aec060016c9ececf7690b9f81cac85de063c3ef (patch) | |
tree | 4f5c167d47308bada5d35ce97c08d3d37db209a3 /tracker-steamvr/CMakeLists.txt | |
parent | 3ea089f30ecb5c6e206474e11c9fe34bc4748490 (diff) |
modules: build on Intel arch only
Diffstat (limited to 'tracker-steamvr/CMakeLists.txt')
-rw-r--r-- | tracker-steamvr/CMakeLists.txt | 4 |
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() |