vcpkg/ports/liblas/fix-cmake-config.patch
Kai Pastor e2b22a2ae5
[liblas] Fix geotiff dependency, document usage, add feature 'tools' (#25664)
* [liblas] use supports expression

* Fix linkage and license

* Drop pointless stuff

* Simplify cleanup, minor fixes

* Fix exported config

* Add tools feature

* Install usage file

* Update versions

* Fix usage

* Update versions

* Add Windows prefix to usage

* Update versions

Co-authored-by: Leander Schulten <Leander.Schulten@rwth-aachen.de>
2022-07-11 15:52:46 -07:00

14 lines
517 B
Diff

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")
if(WIN32)
set (libLAS_LIBRARIES liblas liblas_c)