From 74e8f62194381bc236aaabfd50e7dc7446012485 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 19 Jan 2020 15:19:37 +0100 Subject: [PATCH] fix linux regression --- ports/libwebp/portfile.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake index 12e980d423..6c5fc381d4 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/")