mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 21:28:59 +08:00
82a9a8436e
* [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
26 lines
879 B
Diff
26 lines
879 B
Diff
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 REQUIRED)
|
|
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)
|