mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:25:57 +08:00
[libgeotiff] Fix mingw build (#17206)
* Provide install dir parameters Fixes a build error with MINGW. * Update version
This commit is contained in:
parent
e1e681f71b
commit
fc07d6946c
@ -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
|
||||
|
@ -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)
|
||||
|
@ -3082,7 +3082,7 @@
|
||||
},
|
||||
"libgeotiff": {
|
||||
"baseline": "1.6.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libgit2": {
|
||||
"baseline": "1.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7cd5cd08571c3a463ea30e6b47a6e407301199fe",
|
||||
"version-string": "1.6.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "413293d224293f65999b988ba07734ad78793405",
|
||||
"version-string": "1.6.0",
|
||||
|
Loading…
Reference in New Issue
Block a user