mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 18:51:39 +08:00
6 lines
244 B
Plaintext
6 lines
244 B
Plaintext
|
If you do not install the meta-port *opencv*, the package ${PORT} is compatible with CMake
|
||
|
if you set the OpenCV_DIR *before* the find_package call
|
||
|
|
||
|
set(OpenCV_DIR "${CURRENT_INSTALLED_DIR}/share/${PORT}")
|
||
|
find_package(OpenCV REQUIRED)
|