summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/CMakeLists.txt
blob: 078cd4bc4f752878b548f19c4ec6f7b879a6074f (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} opencv_imgproc opentrack-cv opencv_core opentrack-video)
    set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base")
endif()
add_subdirectory(module)