diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblas/fix-cmake-config.patch | |
Diffstat (limited to 'vcpkg/ports/liblas/fix-cmake-config.patch')
| -rw-r--r-- | vcpkg/ports/liblas/fix-cmake-config.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/liblas/fix-cmake-config.patch b/vcpkg/ports/liblas/fix-cmake-config.patch new file mode 100644 index 0000000..46eb9eb --- /dev/null +++ b/vcpkg/ports/liblas/fix-cmake-config.patch @@ -0,0 +1,14 @@ +diff --git a/cmake/liblas-config.cmake.in b/cmake/liblas-config.cmake.in +index 175e997..8a55804 100644 +--- a/cmake/liblas-config.cmake.in ++++ b/cmake/liblas-config.cmake.in +@@ -19,6 +19,8 @@ set (libLAS_INCLUDE_DIRS "${PROJECT_ROOT_DIR}/include") + set (libLAS_LIBRARY_DIRS "${PROJECT_ROOT_DIR}/lib") + set (libLAS_BINARY_DIRS "${PROJECT_ROOT_DIR}/bin") + ++include(CMakeFindDependencyMacro) ++find_dependency(GeoTIFF CONFIG) +-include ("${_DIR}/liblas-depends.cmake") ++include ("${CMAKE_CURRENT_LIST_DIR}/liblas-depends.cmake") + if(WIN32) + set (libLAS_LIBRARIES liblas liblas_c) |