[opencv3] no absolute paths (#28179)

This commit is contained in:
autoantwort 2022-12-08 01:45:34 +01:00 committed by GitHub
parent 35619c26a9
commit 4e0bdbc23a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View File

@ -525,6 +525,6 @@ endif()
vcpkg_fixup_pkgconfig()
configure_file("${CURRENT_PORT_DIR}/usage.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage")
configure_file("${CURRENT_PORT_DIR}/usage.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,4 +1,4 @@
The package ${PORT} is compatible with CMake if you set the OpenCV_DIR *before* the find_package call
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}")
set(OpenCV_DIR "${VCPKG_INSTALLED_DIR}/@TARGET_TRIPLET@/share/@PORT@")
find_package(OpenCV REQUIRED)

View File

@ -1,7 +1,7 @@
{
"name": "opencv3",
"version": "3.4.18",
"port-version": 4,
"port-version": 5,
"description": "Open Source Computer Vision Library",
"homepage": "https://github.com/opencv/opencv",
"license": "BSD-3-Clause",

View File

@ -5478,7 +5478,7 @@
},
"opencv3": {
"baseline": "3.4.18",
"port-version": 4
"port-version": 5
},
"opencv4": {
"baseline": "4.6.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "876eb437a419de1c4b052aa706aff9c4fea5210c",
"version": "3.4.18",
"port-version": 5
},
{
"git-tree": "9ba33f70606fe9df685c72eae8884204f582d9af",
"version": "3.4.18",