aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Facioni <fran6co@gmail.com>2020-10-13 02:22:47 +0200
committerGitHub <noreply@github.com>2020-10-12 17:22:47 -0700
commitbf7985127550bc93da55c721eb629b25e04d5349 (patch)
treefd8d45d2669491d30c97862974636d26b827d03e
parent248169d8eea9bdcfe9b56f4f0dfaaedae0aaa760 (diff)
downloadvcpkg-bf7985127550bc93da55c721eb629b25e04d5349.tar.gz
vcpkg-bf7985127550bc93da55c721eb629b25e04d5349.zip
[PCL] Remove -fext-numeric-literals when building x64-osx (#13824)
* PCL doesn't compile on linux with clang `-fext-numeric-literals` does not exist in clang and it builds just fine without it * pcl: bumped version
-rw-r--r--ports/pcl/CONTROL2
-rw-r--r--ports/pcl/boost-1.70.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/pcl/CONTROL b/ports/pcl/CONTROL
index 92b6dc740..5fd9f4666 100644
--- a/ports/pcl/CONTROL
+++ b/ports/pcl/CONTROL
@@ -1,6 +1,6 @@
Source: pcl
Version: 1.11.0
-Port-Version: 2
+Port-Version: 3
Homepage: https://github.com/PointCloudLibrary/pcl
Description: Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.
Build-Depends: eigen3, flann, qhull, libpng, boost-system, boost-filesystem, boost-thread, boost-date-time, boost-iostreams, boost-random, boost-foreach, boost-dynamic-bitset, boost-property-map, boost-graph, boost-multi-array, boost-signals2, boost-sort, boost-ptr-container, boost-uuid, boost-interprocess, boost-asio
diff --git a/ports/pcl/boost-1.70.patch b/ports/pcl/boost-1.70.patch
index eed9be033..704b43e19 100644
--- a/ports/pcl/boost-1.70.patch
+++ b/ports/pcl/boost-1.70.patch
@@ -6,7 +6,7 @@ index b301cf1..789b660 100644
# Boost (required)
include("${PCL_SOURCE_DIR}/cmake/pcl_find_boost.cmake")
-+if (NOT APPLE AND NOT WIN32)
++if (NOT APPLE AND NOT WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ add_definitions(-fext-numeric-literals)
+endif()