summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/CMakeLists.txt
blob: 53d863200433c77db917fdab77d1735d18cd7ffa (plain)
1
2
3
4
5
6
7
8
9
10
find_package(OpenCV 3.0 QUIET)
set(modules opencv_core opencv_videoio opencv_imgproc)
if(OpenCV_FOUND)
    otr_module(tracker-pt-base STATIC)
    target_include_directories(opentrack-tracker-pt-base SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
    target_link_libraries(opentrack-tracker-pt-base opentrack-cv ${modules})

    otr_module(tracker-pt SOURCES module.cxx)
    target_link_libraries(opentrack-tracker-pt opentrack-tracker-pt-base)
endif()