vcpkg/ports/opencv3/usage.in
2022-12-07 16:45:34 -08:00

5 lines
211 B
Plaintext

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)