summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/CMakeLists.txt
blob: 4010b6c16e81df26580b473d5934d5fddcd24bc0 (plain)
1
2
3
4
5
6
7
8
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 opencv_imgproc opencv_videoio)
    set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base")
endif()
add_subdirectory(module)