vcpkg/ports/pdal/0003-fix-copy-vendor.patch
Kai Pastor 25eb51a36b
[pdal] Revise and update (#21275)
* Modernize portfile, use vcpkg_from_github

* Revise cleanup and tool installation

* Fix static linkage with gdal

* Fix static linkage with PostgreSQL

* Fix compiler options

* Fix APPLE linker flags

* Don't use /usr/local/include

* Remove pdal failure from CI baseline

* Remove outdated FindICONV.cmake

* Simplify geos package lookup

* Separate boost patch from other dependencies

* Simplify boost patching

* Update to 2.3.0

* PDAL supports only dynamic linkage

* Normalize find_library

* Dependencies, features and plugins

* Update pdalboost fixup

* Fixup pkgconfig

"Requires" in pc file is incomplete, and not needed for dynamic linkage in vcpkg.

* Override absolute plugin path

* Don't set RPATH

* Add usage

* [pdal-c] Update portfile

* [pdal-c] Don't enforce pdal features

* [pdal-c] Update to v2.1.0

* Update versions

* Convert tabs

* Update versions

* Patch NOMINMAX definition

* Update versions

* Use project include instead of patch

* Update versions

* Update 'supports' field

* Update versions
2022-01-11 14:56:08 -08:00

21 lines
563 B
Diff

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