pcl: fix for Boost 1.67 compatibility (#26824)
This commit is contained in:
parent
9a4d6e3a9f
commit
64029c6fdd
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,12 @@ class Pcl < Formula
|
|||
depends_on "vtk"
|
||||
|
||||
def install
|
||||
# Fix "error: no matching constructor for initialization of
|
||||
# 'boost::uuids::random_generator' (aka 'boost::uuids::random_generator_pure')"
|
||||
# Upstream issue 18 Apr 2018 "Fails to build against Boost 1.67"
|
||||
# See https://github.com/PointCloudLibrary/pcl/issues/2284
|
||||
ENV.append "CXXFLAGS", "-DBOOST_UUID_RANDOM_GENERATOR_COMPAT"
|
||||
|
||||
args = std_cmake_args + %w[
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
||||
-DBUILD_apps=AUTO_OFF
|
||||
|
|
Loading…
Reference in a new issue