aboutsummaryrefslogtreecommitdiff
path: root/ports/pcl
diff options
context:
space:
mode:
authormartin-s <webmaster@macside.net>2017-11-05 19:13:16 +0100
committermartin-s <webmaster@macside.net>2017-11-05 19:13:16 +0100
commitd5a7da6bcb92b551d6f8a9a321deb063f6632dbc (patch)
tree9dfef57f1fb3611bde577cab7b9dee9411ffb041 /ports/pcl
parentc6d69fac625706c52fc8e48615bc0c6d7b8dad25 (diff)
parent330b8d8bab6a3d07165bf7c05fea09a8e0d56348 (diff)
downloadvcpkg-d5a7da6bcb92b551d6f8a9a321deb063f6632dbc.tar.gz
vcpkg-d5a7da6bcb92b551d6f8a9a321deb063f6632dbc.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into patch-vs2013
# Conflicts: # scripts/cmake/vcpkg_configure_cmake.cmake # toolsrc/src/vcpkg/vcpkgpaths.cpp
Diffstat (limited to 'ports/pcl')
-rw-r--r--ports/pcl/CONTROL12
-rw-r--r--ports/pcl/portfile.cmake14
2 files changed, 22 insertions, 4 deletions
diff --git a/ports/pcl/CONTROL b/ports/pcl/CONTROL
index d8c38a363..dcaa884eb 100644
--- a/ports/pcl/CONTROL
+++ b/ports/pcl/CONTROL
@@ -1,4 +1,12 @@
Source: pcl
-Version: 1.8.1-2
-Build-Depends: boost, eigen3, flann, qhull, vtk, openni2, qt5, winpcap
+Version: 1.8.1-3
Description: Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.
+Build-Depends: boost, eigen3, flann, qhull, vtk, openni2
+
+Feature: qt
+Description: Qt support for PCL
+Build-Depends: vtk[qt]
+
+Feature: pcap
+Description: PCAP support for PCL
+Build-Depends: winpcap \ No newline at end of file
diff --git a/ports/pcl/portfile.cmake b/ports/pcl/portfile.cmake
index cd5c5bedc..92c554df9 100644
--- a/ports/pcl/portfile.cmake
+++ b/ports/pcl/portfile.cmake
@@ -35,6 +35,16 @@ elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(LIBRARY_LINKAGE OFF)
endif()
+set(WITH_QT OFF)
+if("qt" IN_LIST FEATURES)
+ set(WITH_QT ON)
+endif()
+
+set(WITH_PCAP OFF)
+if("pcap" IN_LIST FEATURES)
+ set(WITH_PCAP ON)
+endif()
+
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
@@ -50,10 +60,10 @@ vcpkg_configure_cmake(
-DWITH_CUDA=OFF
-DWITH_LIBUSB=OFF
-DWITH_OPENNI2=ON
- -DWITH_PCAP=ON
+ -DWITH_PCAP=${WITH_PCAP}
-DWITH_PNG=OFF
-DWITH_QHULL=ON
- -DWITH_QT=ON
+ -DWITH_QT=${WITH_QT}
-DWITH_VTK=ON
)