summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/CMakeLists.txt
blob: 0c2e9ce3c695895cb622e306f000085a0d69abb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(opentrack-opencv)
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
    foreach(k core)
        otr_install_lib("opencv_${k}" "${opentrack-libexec}")
    endforeach()
    otr_module(tracker-pt-base STATIC)
    target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
    target_link_libraries(${self} opentrack-cv opencv_core)
    set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base")
endif()
add_subdirectory(module)