aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-01-20 00:15:16 +0100
committerGitHub <noreply@github.com>2020-01-20 00:15:16 +0100
commitb8a3341998d302f79e3c0fb45dd1bda5cb51d5f9 (patch)
tree15d6ee547d8959a52efd671c357b0600b2c88439
parent74e8f62194381bc236aaabfd50e7dc7446012485 (diff)
downloadvcpkg-b8a3341998d302f79e3c0fb45dd1bda5cb51d5f9.tar.gz
vcpkg-b8a3341998d302f79e3c0fb45dd1bda5cb51d5f9.zip
change cmake target path to WebP
-rw-r--r--ports/libwebp/portfile.cmake7
1 files changed, 2 insertions, 5 deletions
diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake
index 6c5fc381d..2682baa3b 100644
--- a/ports/libwebp/portfile.cmake
+++ b/ports/libwebp/portfile.cmake
@@ -56,12 +56,9 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
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
-
+vcpkg_fixup_cmake_targets(CONFIG_PATH share/WebP/cmake TARGET_PATH share/WebP) # find_package is called with WebP 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/")