summaryrefslogtreecommitdiffhomepage
path: root/cv/CMakeLists.txt
blob: 67a27ee99445f53482e0fc03cb39d76be8e70381 (plain)
1
2
3
4
5
6
find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules})
if(OpenCV_FOUND)
    otr_module(cv STATIC)
    target_link_libraries(opentrack-cv ${OpenCV_LIBS})
    target_include_directories(opentrack-cv SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
endif()