aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhere-mikelley <48072435+here-mikelley@users.noreply.github.com>2020-09-06 20:50:27 -0700
committerGitHub <noreply@github.com>2020-09-06 20:50:27 -0700
commit50d5b31c156e815fec5f16e2e14f493bc6493810 (patch)
treeec55c5b57ec41faab491f18efcd96fd633cc4f3f
parentbfed76d91789eb1b99d3091c555e87e53e836503 (diff)
downloadvcpkg-50d5b31c156e815fec5f16e2e14f493bc6493810.tar.gz
vcpkg-50d5b31c156e815fec5f16e2e14f493bc6493810.zip
[pcl] Move VTK to an optional feature (#10449)
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
-rw-r--r--ports/pcl/CONTROL9
-rw-r--r--ports/pcl/portfile.cmake2
2 files changed, 8 insertions, 3 deletions
diff --git a/ports/pcl/CONTROL b/ports/pcl/CONTROL
index 4c3264050..92b6dc740 100644
--- a/ports/pcl/CONTROL
+++ b/ports/pcl/CONTROL
@@ -1,9 +1,10 @@
Source: pcl
Version: 1.11.0
-Port-Version: 1
+Port-Version: 2
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, vtk, 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
+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
+Supports: !(arm64&windows)
Feature: openni2
Description: OpenNI2 support for PCL
@@ -27,3 +28,7 @@ Build-Depends: cuda
Feature: opengl
Description: OpenGL support for PCL
+
+Feature: vtk
+Description: VTK-Visualizations support for PCL
+Build-Depends: vtk
diff --git a/ports/pcl/portfile.cmake b/ports/pcl/portfile.cmake
index 632652289..06cd056de 100644
--- a/ports/pcl/portfile.cmake
+++ b/ports/pcl/portfile.cmake
@@ -35,6 +35,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
cuda BUILD_GPU
tools BUILD_tools
opengl WITH_OPENGL
+ vtk WITH_VTK
)
vcpkg_configure_cmake(
@@ -52,7 +53,6 @@ vcpkg_configure_cmake(
-DWITH_LIBUSB=OFF
-DWITH_PNG=ON
-DWITH_QHULL=ON
- -DWITH_VTK=OFF # disabled due to API changes in 9.0
# FEATURES
${FEATURE_OPTIONS}
)