[libwebp] Fix target include files (#33212)

* [libwebp] Fix target include files

* version
This commit is contained in:
Frank 2023-08-18 05:21:23 +08:00 committed by GitHub
parent cf37b6562c
commit e4abb6dbb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/cmake/WebPConfig.cmake.in b/cmake/WebPConfig.cmake.in
index 74a5891..4c084d9 100644
--- a/cmake/WebPConfig.cmake.in
+++ b/cmake/WebPConfig.cmake.in
@@ -11,7 +11,7 @@ endif()
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
set_and_check(WebP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
-set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS})
+set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIR})
set(WebP_LIBRARIES "")
include(SelectLibraryConfigurations)
foreach(_vcpkg_libwebp_lib IN ITEMS @INSTALLED_LIBRARIES@ sharpyuv)

View File

@ -9,6 +9,7 @@ vcpkg_from_github(
0003-simd.patch
0008-sdl.patch
0010-fix_build.patch
0011-fix-include.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,7 @@
{
"name": "libwebp",
"version": "1.3.1",
"port-version": 1,
"port-version": 2,
"description": "WebP codec: library to encode and decode images in WebP format",
"homepage": "https://github.com/webmproject/libwebp",
"license": "BSD-3-Clause",

View File

@ -4806,7 +4806,7 @@
},
"libwebp": {
"baseline": "1.3.1",
"port-version": 1
"port-version": 2
},
"libwebsockets": {
"baseline": "4.3.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ce9a702064516d77e0b1239edc29efd603ee323e",
"version": "1.3.1",
"port-version": 2
},
{
"git-tree": "42095edcaa6f9fb7a29822896d45b772f694a9cf",
"version": "1.3.1",