Skip to content

Commit

Permalink
[libfreenect2] Add feature openni2 (#25600)
Browse files Browse the repository at this point in the history
* [libfreenect2] Add feature openni2

* update version

* x-add-version

Co-authored-by: LilyWangLL <v-lilywang@microsoft.com>
  • Loading branch information
LilyWangLL and LilyWangLL committed Jul 6, 2022
1 parent 5dd5017 commit 88bdc6d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ports/libfreenect2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ string(REPLACE "(WIN32)"
file(WRITE "${SOURCE_PATH}/cmake_modules/FindLibUSB.cmake" "${FINDLIBUSB}")

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
opengl ENABLE_OPENGL
opencl ENABLE_OPENCL
FEATURES
opengl ENABLE_OPENGL
opencl ENABLE_OPENCL
openni2 BUILD_OPENNI2_DRIVER
)

vcpkg_cmake_configure(
Expand Down
8 changes: 7 additions & 1 deletion ports/libfreenect2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libfreenect2",
"version": "0.2.0",
"port-version": 8,
"port-version": 9,
"description": "Open source drivers for the Kinect for Windows v2 device",
"homepage": "https://github.com/OpenKinect/libfreenect2",
"license": "GPL-2.0-only",
Expand Down Expand Up @@ -33,6 +33,12 @@
"glfw3",
"opengl"
]
},
"openni2": {
"description": "OpenNI2 support for libfreenect2",
"dependencies": [
"openni2"
]
}
}
}
3 changes: 1 addition & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"baseline": "3.0.5",
"port-version": 0
},

"abseil": {
"baseline": "20211102.1",
"port-version": 0
Expand Down Expand Up @@ -3611,7 +3610,7 @@
},
"libfreenect2": {
"baseline": "0.2.0",
"port-version": 8
"port-version": 9
},
"libftdi": {
"baseline": "0.20",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libfreenect2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "33bfc70d84b528fa549f57401c884abda1073526",
"version": "0.2.0",
"port-version": 9
},
{
"git-tree": "ce8aefbc76e982371258202989111294d9a5221d",
"version": "0.2.0",
Expand Down

0 comments on commit 88bdc6d

Please sign in to comment.