aboutsummaryrefslogtreecommitdiff
path: root/ports/liblas/fix-geotiff.patch
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-10-14 05:38:05 +0800
committerGitHub <noreply@github.com>2020-10-13 14:38:05 -0700
commiteaa2e3db0fa6162112fa76e87ac44a67db7225c8 (patch)
tree0e30601250da795ad578da1ec5bc52d2c3e4b93d /ports/liblas/fix-geotiff.patch
parentc633ef256fc2702090cd27925d0eeb5075beb844 (diff)
downloadvcpkg-eaa2e3db0fa6162112fa76e87ac44a67db7225c8.tar.gz
vcpkg-eaa2e3db0fa6162112fa76e87ac44a67db7225c8.zip
[libgeotiff] Upgrade to version 1.6.0 (#10408)
Diffstat (limited to 'ports/liblas/fix-geotiff.patch')
-rw-r--r--ports/liblas/fix-geotiff.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/ports/liblas/fix-geotiff.patch b/ports/liblas/fix-geotiff.patch
new file mode 100644
index 000000000..e812c3d91
--- /dev/null
+++ b/ports/liblas/fix-geotiff.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d246a88..d0bba6f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -248,7 +248,7 @@ endif()
+ # GeoTIFF support - required, default=ON
+ set(WITH_GEOTIFF TRUE CACHE BOOL "Choose if GeoTIFF support should be built")
+
+-find_package (GeoTIFF 1.3.0 )
++find_package (GeoTIFF CONFIG 1.3.0 )
+ if(GEOTIFF_FOUND)
+ set(WITH_GEOTIFF TRUE)
+ # Confirm required API is available
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
+index beb83e2..650bc0c 100644
+--- a/apps/CMakeLists.txt
++++ b/apps/CMakeLists.txt
+@@ -168,7 +168,6 @@ if(UNIX)
+ set (LIBLAS_UTILS_RPATH ${LIBLAS_UTILS_RPATH} ${LASZIP_LIBRARY_DIRS})
+ endif()
+ if(GEOTIFF_FOUND)
+- get_filename_component(GEOTIFF_LIBRARY_DIRS ${GEOTIFF_LIBRARY} PATH)
+ set (LIBLAS_UTILS_RPATH ${LIBLAS_UTILS_RPATH} ${GEOTIFF_LIBRARY_DIRS})
+ endif()
+ if(GDAL_FOUND)