summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/CMakeLists.txt
blob: ed52eee62a4f73b3a66833f67825f93e268babfe (plain)
1
2
3
4
5
6
7
8
find_package(OpenCV 3.0)
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})
    link_with_dinput8(opentrack-tracker-aruco)
endif()