summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/CMakeLists.txt
blob: 76506c5ee3698ccbb6caf0cebfa6d2eddf15b254 (plain)
1
2
3
4
5
6
7
8
9
include(opentrack-opencv)
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
    otr_module(tracker-pt-base STATIC)
    target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
    target_link_libraries(${self} opentrack-cv opencv_core opentrack-video)
    set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base")
endif()
add_subdirectory(module)