[libfreenect2] Add feature openni2 (#25600)

* [libfreenect2] Add feature openni2

* update version

* x-add-version

Co-authored-by: LilyWangLL <v-lilywang@microsoft.com>
This commit is contained in:
LilyWangLL 2022-07-06 13:47:36 -07:00 committed by GitHub
parent 5dd5017f14
commit 88bdc6d387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 5 deletions

View File

@ -15,8 +15,10 @@ string(REPLACE "(WIN32)"
file(WRITE "${SOURCE_PATH}/cmake_modules/FindLibUSB.cmake" "${FINDLIBUSB}") file(WRITE "${SOURCE_PATH}/cmake_modules/FindLibUSB.cmake" "${FINDLIBUSB}")
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
opengl ENABLE_OPENGL FEATURES
opencl ENABLE_OPENCL opengl ENABLE_OPENGL
opencl ENABLE_OPENCL
openni2 BUILD_OPENNI2_DRIVER
) )
vcpkg_cmake_configure( vcpkg_cmake_configure(

View File

@ -1,7 +1,7 @@
{ {
"name": "libfreenect2", "name": "libfreenect2",
"version": "0.2.0", "version": "0.2.0",
"port-version": 8, "port-version": 9,
"description": "Open source drivers for the Kinect for Windows v2 device", "description": "Open source drivers for the Kinect for Windows v2 device",
"homepage": "https://github.com/OpenKinect/libfreenect2", "homepage": "https://github.com/OpenKinect/libfreenect2",
"license": "GPL-2.0-only", "license": "GPL-2.0-only",
@ -33,6 +33,12 @@
"glfw3", "glfw3",
"opengl" "opengl"
] ]
},
"openni2": {
"description": "OpenNI2 support for libfreenect2",
"dependencies": [
"openni2"
]
} }
} }
} }

View File

@ -12,7 +12,6 @@
"baseline": "3.0.5", "baseline": "3.0.5",
"port-version": 0 "port-version": 0
}, },
"abseil": { "abseil": {
"baseline": "20211102.1", "baseline": "20211102.1",
"port-version": 0 "port-version": 0
@ -3611,7 +3610,7 @@
}, },
"libfreenect2": { "libfreenect2": {
"baseline": "0.2.0", "baseline": "0.2.0",
"port-version": 8 "port-version": 9
}, },
"libftdi": { "libftdi": {
"baseline": "0.20", "baseline": "0.20",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "33bfc70d84b528fa549f57401c884abda1073526",
"version": "0.2.0",
"port-version": 9
},
{ {
"git-tree": "ce8aefbc76e982371258202989111294d9a5221d", "git-tree": "ce8aefbc76e982371258202989111294d9a5221d",
"version": "0.2.0", "version": "0.2.0",