aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsukasa Sugiura <t.sugiura0204@gmail.com>2017-06-21 21:38:28 +0900
committerTsukasa Sugiura <t.sugiura0204@gmail.com>2017-06-22 00:31:35 +0900
commit6bb7c10b155376088e24f9bcf12acd133b89fb85 (patch)
treec3ae26c3fa4f2b3751394e82556289e0daf96eab
parent302f67feedf6bb0cb1163f2fcdef4a162c5a843c (diff)
downloadvcpkg-6bb7c10b155376088e24f9bcf12acd133b89fb85.tar.gz
vcpkg-6bb7c10b155376088e24f9bcf12acd133b89fb85.zip
Fix to enable pcl_2d module
Fix to enable pcl_2d module. It's a header only library.
-rw-r--r--ports/pcl/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
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)