mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[opencv3] no absolute paths (#28179)
This commit is contained in:
parent
35619c26a9
commit
4e0bdbc23a
@ -525,6 +525,6 @@ endif()
|
|||||||
|
|
||||||
vcpkg_fixup_pkgconfig()
|
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)
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
@ -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)
|
find_package(OpenCV REQUIRED)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "opencv3",
|
"name": "opencv3",
|
||||||
"version": "3.4.18",
|
"version": "3.4.18",
|
||||||
"port-version": 4,
|
"port-version": 5,
|
||||||
"description": "Open Source Computer Vision Library",
|
"description": "Open Source Computer Vision Library",
|
||||||
"homepage": "https://github.com/opencv/opencv",
|
"homepage": "https://github.com/opencv/opencv",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
|
@ -5478,7 +5478,7 @@
|
|||||||
},
|
},
|
||||||
"opencv3": {
|
"opencv3": {
|
||||||
"baseline": "3.4.18",
|
"baseline": "3.4.18",
|
||||||
"port-version": 4
|
"port-version": 5
|
||||||
},
|
},
|
||||||
"opencv4": {
|
"opencv4": {
|
||||||
"baseline": "4.6.0",
|
"baseline": "4.6.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "876eb437a419de1c4b052aa706aff9c4fea5210c",
|
||||||
|
"version": "3.4.18",
|
||||||
|
"port-version": 5
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "9ba33f70606fe9df685c72eae8884204f582d9af",
|
"git-tree": "9ba33f70606fe9df685c72eae8884204f582d9af",
|
||||||
"version": "3.4.18",
|
"version": "3.4.18",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user