Skip to content

Commit

Permalink
[tiff] Install runtime deps for tiff[tool] (#11364)
Browse files Browse the repository at this point in the history
* Install runtime deps for tiff[tool]

fixes #11361

* Remove deprecated include

* Increment port version
  • Loading branch information
thomasgt committed May 16, 2020
1 parent 830d482 commit 9db3ff7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ports/tiff/CONTROL
@@ -1,5 +1,5 @@
Source: tiff
Version: 4.0.10-8
Version: 4.0.10-9
Build-Depends: zlib, libjpeg-turbo, liblzma
Homepage: https://download.osgeo.org/libtiff
Description: A library that supports the manipulation of TIFF image files
Expand Down
5 changes: 2 additions & 3 deletions ports/tiff/portfile.cmake
@@ -1,5 +1,3 @@
include(vcpkg_common_functions)

set(LIBTIFF_VERSION 4.0.10)

vcpkg_download_distfile(ARCHIVE
Expand Down Expand Up @@ -57,10 +55,11 @@ file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/
if ("tool" IN_LIST FEATURES)
file(GLOB TIFF_TOOLS ${CURRENT_PACKAGES_DIR}/bin/*.exe)
file(INSTALL ${TIFF_TOOLS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
file(REMOVE ${TIFF_TOOLS})
file(GLOB TIFF_TOOLS ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe)
file(REMOVE ${TIFF_TOOLS})

if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
Expand Down

0 comments on commit 9db3ff7

Please sign in to comment.