diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ff202d..19a006b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,11 @@ else() # ======================================================== # Catkin specific configuration # ======================================================== - find_package(PCL REQUIRED) + # pcl_common is enough: pcl_convert.h only touches PCLPointCloud2, PCLImage + # and conversions.h. Asking for all of PCL drags in io -> VTK -> Qt, and on a + # VTK build that carries MPI that fails outright unless C is an enabled + # language, which this project does not enable. + find_package(PCL REQUIRED COMPONENTS common) find_package(catkin REQUIRED COMPONENTS robot_geometry_msgs robot_sensor_msgs