[opencv3] no absolute paths (#28788)

This commit is contained in:
autoantwort 2023-01-09 06:37:20 +01:00 committed by GitHub
parent c64831df95
commit 6630a8b1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View File

@ -524,6 +524,12 @@ if(VCPKG_TARGET_IS_ANDROID)
endif()
vcpkg_fixup_pkgconfig()
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/opencv.pc")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/opencv.pc" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/" "\${prefix}")
endif()
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/opencv.pc")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/opencv.pc" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/" "\${prefix}")
endif()
configure_file("${CURRENT_PORT_DIR}/usage.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)

View File

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

View File

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

View File

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