aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/gdal/vcpkg-cmake-wrapper.cmake2
-rw-r--r--ports/gdal/vcpkg.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/gdal/vcpkg-cmake-wrapper.cmake b/ports/gdal/vcpkg-cmake-wrapper.cmake
index 8614c35e3..f6241e259 100644
--- a/ports/gdal/vcpkg-cmake-wrapper.cmake
+++ b/ports/gdal/vcpkg-cmake-wrapper.cmake
@@ -23,6 +23,8 @@ if(NOT GDAL_INCLUDE_DIR OR NOT GDAL_LIBRARY)
message(FATAL_ERROR "Installation of vcpkg port gdal is broken.")
endif()
+set(GDAL_LIBRARY "${GDAL_LIBRARY}" CACHE STRING "")
+
set(FindGDAL_SKIP_GDAL_CONFIG TRUE)
_find_package(${ARGS})
diff --git a/ports/gdal/vcpkg.json b/ports/gdal/vcpkg.json
index 71e7cbf11..8ef4de49b 100644
--- a/ports/gdal/vcpkg.json
+++ b/ports/gdal/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "gdal",
"version-semver": "3.2.2",
- "port-version": 2,
+ "port-version": 3,
"description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data",
"homepage": "https://gdal.org",
"supports": "!arm",