[pcl] Fix pcl build when building for arm/arm64 (#43295)

This commit is contained in:
Jack Jansen 2025-02-01 08:25:33 +01:00 committed by GitHub
parent fa94ee97d3
commit 2ded45cc7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 12 additions and 4 deletions

View File

@ -20,6 +20,10 @@ vcpkg_from_github(
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" PCL_SHARED_LIBS)
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
set(PCL_DONT_TRY_SSE "-DPCL_ENABLE_SSE=OFF")
endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
apps BUILD_apps
@ -52,6 +56,7 @@ vcpkg_cmake_configure(
-DPCL_BUILD_WITH_QHULL_DYNAMIC_LINKING_WIN32=${PCL_SHARED_LIBS}
-DPCL_SHARED_LIBS=${PCL_SHARED_LIBS}
-DPCL_ENABLE_MARCHNATIVE=OFF
${PCL_DONT_TRY_SSE}
# WITH
-DWITH_DAVIDSDK=OFF
-DWITH_DOCS=OFF

View File

@ -1,7 +1,7 @@
{
"name": "pcl",
"version": "1.14.1",
"port-version": 3,
"port-version": 4,
"description": "Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.",
"homepage": "https://github.com/PointCloudLibrary/pcl",
"license": "BSD-3-Clause",

View File

@ -864,8 +864,6 @@ paho-mqtt:x64-uwp=fail
pango:arm-neon-android=fail
pango:arm64-android=fail
pango:x64-android=fail
pcl:arm-neon-android=fail
pcl:arm64-android=fail
pcl:x64-android=fail
pdal:arm-neon-android=fail
pdal:arm64-android=fail

View File

@ -6950,7 +6950,7 @@
},
"pcl": {
"baseline": "1.14.1",
"port-version": 3
"port-version": 4
},
"pcre": {
"baseline": "8.45",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8334f3e6c6b3f1f5cf70c8dc6b737eccb33ed326",
"version": "1.14.1",
"port-version": 4
},
{
"git-tree": "57795e21c0c37576db6bfb1df3b134de461d10e0",
"version": "1.14.1",