aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/")