mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:46:49 +08:00
[opencv3] no absolute paths (#28788)
This commit is contained in:
parent
c64831df95
commit
6630a8b1bb
@ -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)
|
||||
|
||||
|
@ -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",
|
||||
|
@ -5542,7 +5542,7 @@
|
||||
},
|
||||
"opencv3": {
|
||||
"baseline": "3.4.18",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"opencv4": {
|
||||
"baseline": "4.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2b9cff1ffb1822e359c63e291e1377af4b831c09",
|
||||
"version": "3.4.18",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "876eb437a419de1c4b052aa706aff9c4fea5210c",
|
||||
"version": "3.4.18",
|
||||
|
Loading…
Reference in New Issue
Block a user