vcpkg/ports/pcl/boost-1.70.patch
JackBoosY e9f8dbf440 [pcl]Fix Build failure in linux (#7413)
* [pcl]Set opengl as a port feature.

* [pcl]Re-generate boost patch.

* [pcl]Use vcpkg_check_features.
2019-08-01 07:39:10 -04:00

28 lines
1.2 KiB
Diff

diff --git a/segmentation/include/pcl/segmentation/supervoxel_clustering.h b/segmentation/include/pcl/segmentation/supervoxel_clustering.h
index 05e6002..99e3a07 100644
--- a/segmentation/include/pcl/segmentation/supervoxel_clustering.h
+++ b/segmentation/include/pcl/segmentation/supervoxel_clustering.h
@@ -525,7 +525,7 @@ namespace pcl
};
//Make boost::ptr_list can access the private class SupervoxelHelper
- friend void boost::checked_delete<> (const typename pcl::SupervoxelClustering<PointT>::SupervoxelHelper *);
+ //friend void boost::checked_delete<> (const typename pcl::SupervoxelClustering<PointT>::SupervoxelHelper *);
typedef boost::ptr_list<SupervoxelHelper> HelperListT;
HelperListT supervoxel_helpers_;
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68cc438..8cfa1c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -416,6 +416,9 @@ endif()
# Boost (required)
include("${PCL_SOURCE_DIR}/cmake/pcl_find_boost.cmake")
+if (NOT APPLE)
+ add_definitions(-fext-numeric-literals)
+endif()
### ---[ Create the config.h file
set(pcl_config_h_in "${CMAKE_CURRENT_SOURCE_DIR}/pcl_config.h.in")