Skip to content

Commit

Permalink
[open3d] add azure kinect and realsense support
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 29, 2024
1 parent 8c39d40 commit 7cb7957
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ports/open3d/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"sycl" BUILD_SYCL_MODULE
"openmp" WITH_OPENMP
"python" BUILD_PYTHON_MODULE
"azure-kinect" BUILD_AZURE_KINECT
"realsense2" BUILD_LIBREALSENSE
)

vcpkg_cmake_configure(
Expand All @@ -43,8 +45,8 @@ vcpkg_cmake_configure(
-DBUILD_CUDA_MODULE=OFF
-DBUILD_TENSORFLOW_OPS=OFF
-DBUILD_PYTHON_MODULE=${BUILD_PYTHON_MODULE}
-DBUILD_LIBREALSENSE=OFF
-DBUILD_AZURE_KINECT=OFF
-DBUILD_LIBREALSENSE=${BUILD_LIBREALSENSE}
-DBUILD_AZURE_KINECT=${BUILD_AZURE_KINECT}
-DBUILD_SYCL_MODULE=${BUILD_SYCL_MODULE}
-DOPEN3D_USE_ONEAPI_PACKAGES=${OPEN3D_USE_ONEAPI_PACKAGES}
-DUSE_BLAS=${USE_BLAS}
Expand Down
12 changes: 12 additions & 0 deletions ports/open3d/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"openmp"
],
"features": {
"azure-kinect": {
"description": "Build support for Azure Kinect sensor",
"dependencies": [
"azure-kinect-sensor-sdk"
]
},
"blas": {
"description": "Use BLAS/LAPACK/LAPACKE instead of MKL",
"dependencies": [
Expand Down Expand Up @@ -75,6 +81,12 @@
"pybind11"
]
},
"realsense": {
"description": "Build support for Intel RealSense camera",
"dependencies": [
"realsense2"
]
},
"sycl": {
"description": "Enable SYCL module"
}
Expand Down
2 changes: 1 addition & 1 deletion versions/o-/open3d.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "76807e6be634e1ed471ec73e625dc9aa5a1ff170",
"git-tree": "69821246fb10b093959686152307ecc704cad0b5",
"version-semver": "0.18.0",
"port-version": 0
}
Expand Down

0 comments on commit 7cb7957

Please sign in to comment.