blob: b9f62a07479f8ca813be31e32ee9ec9f1b7e748d (
plain)
1
2
3
4
5
6
7
8
9
10
|
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path")
if(SDK_ARUCO_LIBPATH)
otr_module(tracker-aruco)
set(modules opencv_core opencv_calib3d opencv_imgproc opencv_videoio)
target_link_libraries(opentrack-tracker-aruco opentrack-cv ${SDK_ARUCO_LIBPATH} ${modules})
target_include_directories(opentrack-tracker-aruco SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
endif()
endif()
|