vcpkg/ports/pdal/geotiff.patch
NancyLi1013 82a9a8436e
[libgeotiff] Fix packagename via find_package (#15750)
* [libgeotiff] Fix packagename via find_package

* Update port_versions

* Update portfile.cmake

* Update patch

* [libgeotiff] Fix packagename via find_package

* Update port_versions

* Update patch

* [pdal] Fix geotiff package name

* Update versions

* [pdal] Update dependency

* Update versions/p-/pdal.json
2021-01-28 19:26:11 -08:00

16 lines
473 B
Diff

diff --git a/cmake/geotiff.cmake b/cmake/geotiff.cmake
index 1d1e8af..ec077bc 100644
--- a/cmake/geotiff.cmake
+++ b/cmake/geotiff.cmake
@@ -2,8 +2,8 @@
# GeoTIFF support
#
-find_package(GeoTIFF REQUIRED 1.3.0)
-set_package_properties(GeoTIFF PROPERTIES TYPE REQUIRED)
+find_package(geotiff REQUIRED 1.3.0)
+set_package_properties(geotiff PROPERTIES TYPE REQUIRED)
if (GEOTIFF_FOUND)
include_directories("${GEOTIFF_INCLUDE_DIR}")
set(PDAL_HAVE_LIBGEOTIFF 1)