mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 18:20:47 +08:00
Change usage instructions to target_ based (#2873)
This commit is contained in:
parent
e38bdde03d
commit
0eae5c651d
@ -1,5 +1,5 @@
|
||||
The package opencv provides CMake integration:
|
||||
|
||||
find_package(OpenCV REQUIRED)
|
||||
include_directories(${OpenCV_INCLUDE_DIRS})
|
||||
target_include_directories(main PRIVATE ${OpenCV_INCLUDE_DIRS})
|
||||
target_link_libraries(main PRIVATE ${OpenCV_LIBS})
|
||||
|
Loading…
Reference in New Issue
Block a user