mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
6 lines
210 B
Plaintext
6 lines
210 B
Plaintext
The package opencv provides CMake integration:
|
|
|
|
find_package(OpenCV REQUIRED)
|
|
target_include_directories(main PRIVATE ${OpenCV_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${OpenCV_LIBS})
|