[opencv4] no absolute paths (#28203)

This commit is contained in:
autoantwort 2022-12-07 20:31:34 +01:00 committed by GitHub
parent b1b613b613
commit ec06445e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View File

@ -577,7 +577,7 @@ 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(GLOB extra_license_files "${CURRENT_PACKAGES_DIR}/share/licenses/opencv4/*")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" ${extra_license_files})

View File

@ -1,5 +1,5 @@
If you do not install the meta-port *opencv*, the package ${PORT} is compatible with CMake
If you do not install the meta-port *opencv*, 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": "opencv4",
"version": "4.6.0",
"port-version": 9,
"port-version": 10,
"description": "computer vision library",
"homepage": "https://github.com/opencv/opencv",
"license": "Apache-2.0",

View File

@ -5482,7 +5482,7 @@
},
"opencv4": {
"baseline": "4.6.0",
"port-version": 9
"port-version": 10
},
"opendnp3": {
"baseline": "3.1.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4ddfc66a3d38c96fbe831242cdd1148d54cbca87",
"version": "4.6.0",
"port-version": 10
},
{
"git-tree": "3fcb51fbbc3605e41bcdbd0ea0acd6233127b49b",
"version": "4.6.0",