[libgeotiff] Fix mingw build (#17206)

* Provide install dir parameters

Fixes a build error with MINGW.

* Update version
This commit is contained in:
Kai Pastor 2021-04-12 20:14:09 +02:00 committed by GitHub
parent e1e681f71b
commit fc07d6946c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Source: libgeotiff
Version: 1.6.0
Port-Version: 1
Port-Version: 2
Homepage: https://github.com/OSGeo/libgeotiff
Description: Libgeotiff is an open source library normally hosted on top of libtiff for reading, and writing GeoTIFF information tags.
Build-Depends: tiff, proj4, zlib, libjpeg-turbo

View File

@ -21,6 +21,8 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DGEOTIFF_BIN_SUBDIR=bin
-DGEOTIFF_DATA_SUBDIR=share
-DWITH_TIFF=1
-DWITH_PROJ4=1
-DWITH_ZLIB=1
@ -44,4 +46,3 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(RENAME ${CURRENT_PACKAGES_DIR}/doc ${CURRENT_PACKAGES_DIR}/share/${PORT}/doc)

View File

@ -3082,7 +3082,7 @@
},
"libgeotiff": {
"baseline": "1.6.0",
"port-version": 1
"port-version": 2
},
"libgit2": {
"baseline": "1.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7cd5cd08571c3a463ea30e6b47a6e407301199fe",
"version-string": "1.6.0",
"port-version": 2
},
{
"git-tree": "413293d224293f65999b988ba07734ad78793405",
"version-string": "1.6.0",