Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ports/itk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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)
Expand Down
12 changes: 12 additions & 0 deletions ports/itk/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion versions/i-/itk.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "292c97cb7b593c84d77628fbe7f6e91ea0f43902",
"git-tree": "21beac1c375ce633f869566345d7418849633c3e",
"version": "5.2.1",
"port-version": 1
},
Expand Down