如何满足PCL cmake警告

如何满足PCL cmake警告,cmake,point-cloud-library,Cmake,Point Cloud Library,我想知道是否有办法在不安装额外库的情况下消除这些cmake生成警告: ** WARNING ** io features related to ensenso will be disabled ** WARNING ** io features related to davidSDK will be disabled ** WARNING ** io features related to dssdk will be disabled ** WARNING ** io features rela

我想知道是否有办法在不安装额外库的情况下消除这些cmake生成警告:

** WARNING ** io features related to ensenso will be disabled
** WARNING ** io features related to davidSDK will be disabled
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled

如果您是从源代码构建库,只需在PCLConfig.cmake.in

中对其进行注释即可。您能否向我们提供有关您所做工作的更多详细信息?请欢迎使用堆栈溢出!这里有一篇相关的帖子,其中介绍了一些解决方案……在这种情况下,请从
/usr/lib/x86\u 64-linux-gnu/cmake/pcl/PCLConfig.cmake中注释掉上面的内容,谢谢shrijit!在深入研究cmake源文件之后,没有任何明显的方法可以使我不使用的库静音。只有上面提到的方法可以禁用关于不可用库的所有警告。不理想,但符合我的需要。:)