diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-08-21 15:49:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-21 15:49:10 -0700 |
| commit | 5a240bcf9205fea28b7dc2e614844105c204f111 (patch) | |
| tree | beeee1f64e12a935a3b4927e129980e2c9fb9fa1 | |
| parent | 4477888c779484e0b33b838ace347bff93df52f1 (diff) | |
| download | vcpkg-5a240bcf9205fea28b7dc2e614844105c204f111.tar.gz vcpkg-5a240bcf9205fea28b7dc2e614844105c204f111.zip | |
[pcl] check SSE flags (#13020)
* [pcl] Always check SSE flags
* check sse if sse enabled
| -rw-r--r-- | ports/pcl/CONTROL | 1 | ||||
| -rw-r--r-- | ports/pcl/fix-check-sse.patch | 13 | ||||
| -rw-r--r-- | ports/pcl/portfile.cmake | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/ports/pcl/CONTROL b/ports/pcl/CONTROL index aea2d778e..4c3264050 100644 --- a/ports/pcl/CONTROL +++ b/ports/pcl/CONTROL @@ -1,5 +1,6 @@ Source: pcl Version: 1.11.0 +Port-Version: 1 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 diff --git a/ports/pcl/fix-check-sse.patch b/ports/pcl/fix-check-sse.patch new file mode 100644 index 000000000..4fd6e676b --- /dev/null +++ b/ports/pcl/fix-check-sse.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e580b1a..572ea06 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -86,7 +86,7 @@ endif() + + # check for SSE flags + include("${PCL_SOURCE_DIR}/cmake/pcl_find_sse.cmake") +-if(PCL_ENABLE_SSE AND "${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}") ++if(PCL_ENABLE_SSE) + PCL_CHECK_FOR_SSE() + endif() + diff --git a/ports/pcl/portfile.cmake b/ports/pcl/portfile.cmake index 378601155..632652289 100644 --- a/ports/pcl/portfile.cmake +++ b/ports/pcl/portfile.cmake @@ -11,6 +11,7 @@ vcpkg_from_github( boost-1.70.patch fix-link-libpng.patch remove-broken-targets.patch + fix-check-sse.patch ) file(REMOVE ${SOURCE_PATH}/cmake/Modules/FindFLANN.cmake) |
