mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[opencv4] fix feature python (#33197)
This commit is contained in:
parent
41f14f54a9
commit
c337b472f8
@ -585,6 +585,12 @@ if(VCPKG_TARGET_IS_ANDROID)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/README.android")
|
||||
endif()
|
||||
|
||||
if("python" IN_LIST FEATURES)
|
||||
file(GLOB python_dir LIST_DIRECTORIES true RELATIVE "${CURRENT_PACKAGES_DIR}/lib/" "${CURRENT_PACKAGES_DIR}/lib/python*")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/${python_dir}/site-packages/cv2/typing")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/${python_dir}/site-packages/cv2/typing")
|
||||
endif()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
configure_file("${CURRENT_PORT_DIR}/usage.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "opencv4",
|
||||
"version": "4.8.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "computer vision library",
|
||||
"homepage": "https://github.com/opencv/opencv",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -6014,7 +6014,7 @@
|
||||
},
|
||||
"opencv4": {
|
||||
"baseline": "4.8.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"opendnp3": {
|
||||
"baseline": "3.1.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "89d6da3b45b7e1667bdc3083f9641e57ad4930a9",
|
||||
"version": "4.8.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "78f4556a682ebb41e2ff3f26090ef51cafe5a66c",
|
||||
"version": "4.8.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user