mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-21 18:17:10 +01:00
[tiff] Install runtime deps for tiff[tool] (#11364)
* Install runtime deps for tiff[tool] fixes microsoft/vcpkg#11361 * Remove deprecated include * Increment port version
This commit is contained in:
parent
830d48241c
commit
9db3ff7a06
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(LIBTIFF_VERSION 4.0.10)
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user