mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 07:40:08 +08:00
5 lines
211 B
Plaintext
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)
|