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()