mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 16:29:03 +08:00
369878e686
* Update to 1.7.0 * Refresh patches, drop fix-proj4.patch * Restore GeoTIFF cmake package name (reverts #15750) * Add usage (reason: #15723) * Remove zlib dependency, transitive usage only * Move tools to optional feature * Modernize portfile, fix copyright * Don't install doc and man files * Trim main patch * Allow reduced tiff dependencies * Update versions * Remove libgeotiff uwp failure from CI baseline * Update GeoTIFF in gdal wrapper * Update versions * Update GeoTIFF in pdal config * Update versions * Switch to 'version' field * Update versions
15 lines
640 B
Diff
15 lines
640 B
Diff
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
|
|
+++ b/libgeotiff/cmake/project-config.cmake.in
|
|
@@ -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)
|