Skip to content

Commit 7cb7957

Browse files
committed
[open3d] add azure kinect and realsense support
1 parent 8c39d40 commit 7cb7957

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

ports/open3d/portfile.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
2727
"sycl" BUILD_SYCL_MODULE
2828
"openmp" WITH_OPENMP
2929
"python" BUILD_PYTHON_MODULE
30+
"azure-kinect" BUILD_AZURE_KINECT
31+
"realsense2" BUILD_LIBREALSENSE
3032
)
3133

3234
vcpkg_cmake_configure(
@@ -43,8 +45,8 @@ vcpkg_cmake_configure(
4345
-DBUILD_CUDA_MODULE=OFF
4446
-DBUILD_TENSORFLOW_OPS=OFF
4547
-DBUILD_PYTHON_MODULE=${BUILD_PYTHON_MODULE}
46-
-DBUILD_LIBREALSENSE=OFF
47-
-DBUILD_AZURE_KINECT=OFF
48+
-DBUILD_LIBREALSENSE=${BUILD_LIBREALSENSE}
49+
-DBUILD_AZURE_KINECT=${BUILD_AZURE_KINECT}
4850
-DBUILD_SYCL_MODULE=${BUILD_SYCL_MODULE}
4951
-DOPEN3D_USE_ONEAPI_PACKAGES=${OPEN3D_USE_ONEAPI_PACKAGES}
5052
-DUSE_BLAS=${USE_BLAS}

ports/open3d/vcpkg.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
"openmp"
4242
],
4343
"features": {
44+
"azure-kinect": {
45+
"description": "Build support for Azure Kinect sensor",
46+
"dependencies": [
47+
"azure-kinect-sensor-sdk"
48+
]
49+
},
4450
"blas": {
4551
"description": "Use BLAS/LAPACK/LAPACKE instead of MKL",
4652
"dependencies": [
@@ -75,6 +81,12 @@
7581
"pybind11"
7682
]
7783
},
84+
"realsense": {
85+
"description": "Build support for Intel RealSense camera",
86+
"dependencies": [
87+
"realsense2"
88+
]
89+
},
7890
"sycl": {
7991
"description": "Enable SYCL module"
8092
}

versions/o-/open3d.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "76807e6be634e1ed471ec73e625dc9aa5a1ff170",
4+
"git-tree": "69821246fb10b093959686152307ecc704cad0b5",
55
"version-semver": "0.18.0",
66
"port-version": 0
77
}

0 commit comments

Comments
 (0)