summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs/CMakeLists.txt')
-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()