vcpkg/ports/pdal/0003-fix-copy-vendor.patch

21 lines
563 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e918a3e..a3f9a03 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -375,6 +375,15 @@ install(DIRECTORY ${PDAL_FILTERS_DIR}
install(FILES ${DIMENSION_OUTFILE} ${pdal_features_hpp}
DESTINATION include/pdal
)
+# Instaqll vendor headers
+install(DIRECTORY
+ ${PDAL_VENDOR_DIR}/arbiter
+ ${PDAL_VENDOR_DIR}/kazhdan
+ ${PDAL_VENDOR_DIR}/nanoflann
+ DESTINATION include/pdal/vendor
+ FILES_MATCHING PATTERN "*.hpp" PATTERN PATTERN "*.h"
+ PATTERN "private" EXCLUDE
+)
#
# CPACK