aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opencv4/usage.in
blob: 217ce72976182f18170eb37809dc797b820b48cc (plain)
1
2
3
4
@PORT@ is compatible with built-in CMake variables. In case of multiple OpenCV version installed, set OpenCV_ROOT *before* the find_package call:

    set(OpenCV_ROOT "${VCPKG_INSTALLED_DIR}/@TARGET_TRIPLET@/share/@PORT@")
    find_package(OpenCV REQUIRED)