aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neumann <Alexander.Neumann@hamburg.de>2020-01-19 15:19:37 +0100
committerAlexander Neumann <Alexander.Neumann@hamburg.de>2020-01-19 15:19:37 +0100
commit74e8f62194381bc236aaabfd50e7dc7446012485 (patch)
treee21d8bab39241af149f163230e66c7a21e9c79a9
parentaf2bf73d302fcfc6650f041e51c6bb32c469d4cd (diff)
downloadvcpkg-74e8f62194381bc236aaabfd50e7dc7446012485.tar.gz
vcpkg-74e8f62194381bc236aaabfd50e7dc7446012485.zip
fix linux regression
-rw-r--r--ports/libwebp/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake
index 12e980d42..6c5fc381d 100644
--- a/ports/libwebp/portfile.cmake
+++ b/ports/libwebp/portfile.cmake
@@ -59,6 +59,9 @@ vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/WebP/cmake TARGET_PATH share/webp) # find_package is called wit webp and not libwebp
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+if(VCPKG_TARGET_IS_LINUX)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/WebP)
+endif()
set(BIN_NAMES get_disto gif2webp img2webp vwebp vwebp_sdl webpinfo webpmux webp_quality cwebp dwebp)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/webp/")