summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-19 09:35:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-19 14:17:15 +0100
commit5aec060016c9ececf7690b9f81cac85de063c3ef (patch)
tree4f5c167d47308bada5d35ce97c08d3d37db209a3 /tracker-rs
parent3ea089f30ecb5c6e206474e11c9fe34bc4748490 (diff)
modules: build on Intel arch only
Diffstat (limited to 'tracker-rs')
-rw-r--r--tracker-rs/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt
index fc8eb75b..8350c551 100644
--- a/tracker-rs/CMakeLists.txt
+++ b/tracker-rs/CMakeLists.txt
@@ -1,6 +1,6 @@
set(SDK_REALSENSE "$ENV{RSSDK_DIR}" CACHE PATH "Intel RealSense SDK dir")
-if(WIN32 AND SDK_REALSENSE)
+if(WIN32 AND SDK_REALSENSE AND opentrack-intel)
if(CMAKE_COMPILER_IS_GNUCC)
add_definitions(-fpermissive -Wno-error) # for SDK headers
endif()