mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
6 lines
257 B
Plaintext
6 lines
257 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 "${VCPKG_INSTALLED_DIR}/@TARGET_TRIPLET@/share/@PORT@")
|
|
find_package(OpenCV REQUIRED)
|