mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[opencv4] no absolute paths (#28203)
This commit is contained in:
parent
b1b613b613
commit
ec06445e98
@ -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})
|
||||
|
@ -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)
|
||||
|
@ -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",
|
||||
|
@ -5482,7 +5482,7 @@
|
||||
},
|
||||
"opencv4": {
|
||||
"baseline": "4.6.0",
|
||||
"port-version": 9
|
||||
"port-version": 10
|
||||
},
|
||||
"opendnp3": {
|
||||
"baseline": "3.1.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4ddfc66a3d38c96fbe831242cdd1148d54cbca87",
|
||||
"version": "4.6.0",
|
||||
"port-version": 10
|
||||
},
|
||||
{
|
||||
"git-tree": "3fcb51fbbc3605e41bcdbd0ea0acd6233127b49b",
|
||||
"version": "4.6.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user