[pcl] fix feature apps (#33573)

This commit is contained in:
autoantwort 2023-09-06 07:43:22 +02:00 committed by GitHub
parent 6d70500536
commit 71d0c0c9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View File

@ -117,5 +117,11 @@ if(BUILD_tools OR BUILD_apps OR BUILD_examples)
vcpkg_copy_tools(TOOL_NAMES ${tool_names} AUTO_CLEAN)
endif()
# pcl_apps.dll is only build for release but not used at all since BUILD_apps_3d_rec_framework is OFF.
# Because it is not copied to the tool folder and there is no debug variant, we get an post build check error.
# Since the lib is not needed. Delete it:
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/pcl_apps.dll" "${CURRENT_PACKAGES_DIR}/bin/pcl_apps.pdb"
"${CURRENT_PACKAGES_DIR}/lib/pcl_apps.lib" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/pcl_apps.pc")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@ -1,6 +1,7 @@
{
"name": "pcl",
"version": "1.13.1",
"port-version": 1,
"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

@ -6290,7 +6290,7 @@
},
"pcl": {
"baseline": "1.13.1",
"port-version": 0
"port-version": 1
},
"pcre": {
"baseline": "8.45",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8f4bb7a9a1e628b9444dad7f5a36a2163df572ac",
"version": "1.13.1",
"port-version": 1
},
{
"git-tree": "83f84dc2de83d25e4eb58d69fcf09086ee8b65b5",
"version": "1.13.1",