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