PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.89k stars 4.61k forks source link

Add option to choose boost filesystem over std filesystem #6005

Closed mvieth closed 5 months ago

mvieth commented 5 months ago

Currently, std filesystem is chosen if it is available (if compiled as C++17 or higher). However, it might be good to have the option to choose boost filesystem over std filesystem, even if the latter is available, in case there is some problem with std filesystem. With this commit, std filesystem is still used if available, unless the user has defined the preprocessor symbol PCL_PREFER_BOOST_FILESYSTEM

larshg commented 5 months ago

Could we make a nice cmake option to enable this?