mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:59:00 +08:00
[itk] Add feature opencv supporting ITKBridgeOpenCV (#23502)
* add itk[opencv] supporting the ITKBridgeOpenCV module see https://github.com/InsightSoftwareConsortium/ITK/tree/master/Modules/Video/BridgeOpenCV * Add version * update version * reduce dependencies to opencv * update version Co-authored-by: Andre Mueller <amueller@opsira.de> Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
parent
cd6034faae
commit
ed9ba1e0a9
@ -26,6 +26,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
"tbb" Module_ITKTBB
|
||||
"rtk" Module_RTK
|
||||
"tools" RTK_BUILD_APPLICATIONS
|
||||
"opencv" Module_ITKVideoBridgeOpenCV
|
||||
# There are a lot of more (remote) modules and options in ITK
|
||||
# feel free to add those as a feature
|
||||
)
|
||||
@ -108,6 +109,12 @@ if("python" IN_LIST FEATURES)
|
||||
)
|
||||
#ITK_PYTHON_SITE_PACKAGES_SUFFIX should be set to the install dir of the site-packages within vcpkg
|
||||
endif()
|
||||
if("opencv" IN_LIST FEATURES)
|
||||
message(STATUS "${PORT} includes the ITKVideoBridgeOpenCV")
|
||||
list(APPEND ADDITIONAL_OPTIONS
|
||||
-DModule_ITKVideoBridgeOpenCV:BOOL=ON
|
||||
)
|
||||
endif()
|
||||
|
||||
set(USE_64BITS_IDS OFF)
|
||||
if (VCPKG_TARGET_ARCHITECTURE STREQUAL x64 OR VCPKG_TARGET_ARCHITECTURE STREQUAL arm64)
|
||||
|
@ -67,6 +67,18 @@
|
||||
"opencl"
|
||||
]
|
||||
},
|
||||
"opencv": {
|
||||
"description": "Build ITKVideoBridgeOpenCV module.",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "opencv",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"default-features"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"python": {
|
||||
"description": "Python functionality for ITK",
|
||||
"dependencies": [
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "292c97cb7b593c84d77628fbe7f6e91ea0f43902",
|
||||
"git-tree": "21beac1c375ce633f869566345d7418849633c3e",
|
||||
"version": "5.2.1",
|
||||
"port-version": 1
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user