summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/CMakeLists.txt
blob: c0b50bee315301778960af5b3763e8040260a58b (plain)
1
2
3
4
5
6
7
find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules})
set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path")
if(SDK_ARUCO_LIBPATH AND OpenCV_FOUND)
    opentrack_boilerplate(opentrack-tracker-aruco)
    target_link_libraries(opentrack-tracker-aruco opentrack-cv ${SDK_ARUCO_LIBPATH} ${OpenCV_LIBS})
    target_include_directories(opentrack-tracker-aruco SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
endif()