summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-trackhat/CMakeLists.txt')
-rw-r--r--tracker-trackhat/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tracker-trackhat/CMakeLists.txt b/tracker-trackhat/CMakeLists.txt
new file mode 100644
index 00000000..483bf4c9
--- /dev/null
+++ b/tracker-trackhat/CMakeLists.txt
@@ -0,0 +1,16 @@
+if(WIN32)
+ include(opentrack-opencv)
+ find_package(OpenCV QUIET)
+ if(OpenCV_FOUND)
+ foreach(k core imgproc)
+ otr_install_lib("opencv_${k}" "${opentrack-libexec}")
+ endforeach()
+ set(SDK_TRACKHAT_SENSOR CACHE PATH "")
+ if(SDK_TRACKHAT_SENSOR)
+ include_directories("${SDK_TRACKHAT_SENSOR}/include" ${OpenCV_INCLUDE_DIRS})
+ link_directories("${SDK_TRACKHAT_SENSOR}/lib")
+ link_libraries(opencv_imgproc opencv_core opentrack-tracker-pt-base track-hat)
+ otr_module(tracker-trackhat)
+ endif()
+ endif()
+endif()