2021-11-11 06:54:19 +08:00
|
|
|
diff --git a/libgeotiff/cmake/project-config.cmake.in b/libgeotiff/cmake/project-config.cmake.in
|
|
|
|
index dc5b999..2ce07fd 100644
|
|
|
|
--- a/libgeotiff/cmake/project-config.cmake.in
|
2020-10-14 05:38:05 +08:00
|
|
|
+++ b/libgeotiff/cmake/project-config.cmake.in
|
2021-11-11 06:54:19 +08:00
|
|
|
@@ -23,6 +23,9 @@ message (STATUS "Reading ${CMAKE_CURRENT_LIST_FILE}")
|
|
|
|
message (STATUS
|
|
|
|
"@PROJECT_NAME@ configuration, version ${@PROJECT_NAME@_VERSION}")
|
|
|
|
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
|
|
+find_dependency(PROJ)
|
|
|
|
+
|
|
|
|
# Tell the user project where to find our headers and libraries
|
|
|
|
get_filename_component (_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
|
|
|
get_filename_component (_ROOT "${_DIR}/@PROJECT_ROOT_DIR@" ABSOLUTE)
|