2018-01-19 14:46:52 -08:00
|
|
|
The package opencv provides CMake integration:
|
|
|
|
|
|
|
|
find_package(OpenCV REQUIRED)
|
2018-02-24 14:25:58 +00:00
|
|
|
target_include_directories(main PRIVATE ${OpenCV_INCLUDE_DIRS})
|
2018-01-19 14:46:52 -08:00
|
|
|
target_link_libraries(main PRIVATE ${OpenCV_LIBS})
|