Skip to content

[pcl_io] Set libusb as a required dependency of openni in non-Windows#5028

Merged
larshg merged 1 commit intoPointCloudLibrary:masterfrom
JackBoosY:dev/jack/add-libusb-dependency-with-openni-non-win
Nov 18, 2021
Merged

[pcl_io] Set libusb as a required dependency of openni in non-Windows#5028
larshg merged 1 commit intoPointCloudLibrary:masterfrom
JackBoosY:dev/jack/add-libusb-dependency-with-openni-non-win

Conversation

@JackBoosY
Copy link
Contributor

Fix the condition of finding libusb in FindOpenNI[2].cmake to adapt to the condition in cpp code.

Fixes #5027.

@JackBoosY
Copy link
Contributor Author

@mvieth Can you please review this PR?

Copy link
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about alternative fixes, like requiring libusb specifically for the failing target pcl_ground_based_rgbd_people_detector, but requiring it always when OpenNI is desired for all non-Windows systems seems reasonable to me. Thanks!

@larshg larshg added this to the pcl-1.12.1 milestone Nov 16, 2021
@larshg larshg merged commit 28bd16a into PointCloudLibrary:master Nov 18, 2021
@JackBoosY JackBoosY deleted the dev/jack/add-libusb-dependency-with-openni-non-win branch November 19, 2021 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pcl_io] libusb is not set as a required dependency of opennni

3 participants