2022-07-12 06:52:46 +08:00
|
|
|
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)
|
2023-02-01 10:09:59 +08:00
|
|
|
-include ("${_DIR}/liblas-depends.cmake")
|
|
|
|
+include ("${CMAKE_CURRENT_LIST_DIR}/liblas-depends.cmake")
|
2022-07-12 06:52:46 +08:00
|
|
|
if(WIN32)
|
|
|
|
set (libLAS_LIBRARIES liblas liblas_c)
|