blob: a1bf47f5a5c0fc5c787ac87beb6ba1d4a195d4ea (
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 opentrack-video)
set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base")
endif()
add_subdirectory(module)
|