aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-04-12 20:14:09 +0200
committerGitHub <noreply@github.com>2021-04-12 11:14:09 -0700
commitfc07d6946c7f0a10b5e0f240e6303a06a675e35c (patch)
tree03d5f05c45e761166eb75fe0d3929f05858b8ae9 /ports
parente1e681f71b219b5673023dfe045e737955554897 (diff)
downloadvcpkg-fc07d6946c7f0a10b5e0f240e6303a06a675e35c.tar.gz
vcpkg-fc07d6946c7f0a10b5e0f240e6303a06a675e35c.zip
[libgeotiff] Fix mingw build (#17206)
* Provide install dir parameters Fixes a build error with MINGW. * Update version
Diffstat (limited to 'ports')
-rw-r--r--ports/libgeotiff/CONTROL2
-rw-r--r--ports/libgeotiff/portfile.cmake3
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/libgeotiff/CONTROL b/ports/libgeotiff/CONTROL
index c51eb962e..54e9022b8 100644
--- a/ports/libgeotiff/CONTROL
+++ b/ports/libgeotiff/CONTROL
@@ -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
diff --git a/ports/libgeotiff/portfile.cmake b/ports/libgeotiff/portfile.cmake
index 952ce8fe9..967c7cd78 100644
--- a/ports/libgeotiff/portfile.cmake
+++ b/ports/libgeotiff/portfile.cmake
@@ -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)