From 6bb7c10b155376088e24f9bcf12acd133b89fb85 Mon Sep 17 00:00:00 2001 From: Tsukasa Sugiura Date: Wed, 21 Jun 2017 21:38:28 +0900 Subject: Fix to enable pcl_2d module Fix to enable pcl_2d module. It's a header only library. --- ports/pcl/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/pcl/portfile.cmake b/ports/pcl/portfile.cmake index 2c4aad052..cd335531e 100644 --- a/ports/pcl/portfile.cmake +++ b/ports/pcl/portfile.cmake @@ -46,7 +46,6 @@ vcpkg_configure_cmake( #PREFER_NINJA OPTIONS # BUILD - -DBUILD_2d=OFF # The pcl-2d import library is not generated. -DBUILD_surface_on_nurbs=ON -DBUILD_tools=OFF # PCL @@ -65,6 +64,7 @@ vcpkg_configure_cmake( vcpkg_install_cmake() +file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/pcl_2d_release.dll ${CURRENT_PACKAGES_DIR}/debug/bin/pcl_2d_debug.dll) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/pcl) -- cgit v1.2.3