blob: b5edc293a6f239feaa313f3cfe642144ba7bd500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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)
install(FILES "default.ini" DESTINATION "${opentrack-libexec}/presets/")
endif()
endif()
endif()
|