aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/pcl/CONTROL2
-rw-r--r--ports/pcl/cmakelists.patch16
-rw-r--r--ports/pcl/portfile.cmake3
3 files changed, 19 insertions, 2 deletions
diff --git a/ports/pcl/CONTROL b/ports/pcl/CONTROL
index 5d19f0021..86839aedd 100644
--- a/ports/pcl/CONTROL
+++ b/ports/pcl/CONTROL
@@ -1,5 +1,5 @@
Source: pcl
-Version: 1.8.1-6
+Version: 1.8.1-7
Description: Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.
Build-Depends: boost, eigen3, flann, qhull, vtk
diff --git a/ports/pcl/cmakelists.patch b/ports/pcl/cmakelists.patch
new file mode 100644
index 000000000..2d8bd1bd3
--- /dev/null
+++ b/ports/pcl/cmakelists.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d36a581fb..9b0195324 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -327,9 +327,9 @@ endif(WITH_PNG)
+ # Qhull
+ option(WITH_QHULL "Include convex-hull operations" TRUE)
+ if(WITH_QHULL)
+- if(NOT PCL_SHARED_LIBS OR WIN32)
++ if(NOT PCL_SHARED_LIBS)
+ set(QHULL_USE_STATIC ON)
+- endif(NOT PCL_SHARED_LIBS OR WIN32)
++ endif(NOT PCL_SHARED_LIBS)
+ find_package(Qhull)
+ if(QHULL_FOUND)
+ include_directories(${QHULL_INCLUDE_DIRS})
diff --git a/ports/pcl/portfile.cmake b/ports/pcl/portfile.cmake
index a3efd3367..eeb7b0e6c 100644
--- a/ports/pcl/portfile.cmake
+++ b/ports/pcl/portfile.cmake
@@ -10,7 +10,8 @@ vcpkg_from_github(
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
- PATCHES "${CMAKE_CURRENT_LIST_DIR}/config.patch"
+ PATCHES "${CMAKE_CURRENT_LIST_DIR}/cmakelists.patch"
+ "${CMAKE_CURRENT_LIST_DIR}/config.patch"
"${CMAKE_CURRENT_LIST_DIR}/config_install.patch"
"${CMAKE_CURRENT_LIST_DIR}/find_flann.patch"
"${CMAKE_CURRENT_LIST_DIR}/find_qhull.patch"