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