mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[libwebp]Fix static build: add dependency libraries "dxguid winmm". (#6648)
This commit is contained in:
parent
0ec60d1f90
commit
3d4b4c02ed
13
ports/libwebp/0005-fix-static-build.patch
Normal file
13
ports/libwebp/0005-fix-static-build.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 7585fac..83edb3a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -540,7 +540,7 @@ if(WEBP_BUILD_EXTRAS)
|
||||
find_package(SDL)
|
||||
if(SDL_FOUND)
|
||||
add_executable(vwebp_sdl ${VWEBP_SDL_SRCS})
|
||||
- target_link_libraries(vwebp_sdl ${SDL_LIBRARY} imageioutil webp)
|
||||
+ target_link_libraries(vwebp_sdl ${SDL_LIBRARY} imageioutil webp dxguid winmm)
|
||||
target_include_directories(vwebp_sdl
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
@ -1,5 +1,5 @@
|
||||
Source: libwebp
|
||||
Version: 1.0.2-3
|
||||
Version: 1.0.2-4
|
||||
Description: Lossy compression of digital photographic images.
|
||||
Build-Depends: opengl
|
||||
|
||||
|
@ -11,6 +11,7 @@ vcpkg_from_github(
|
||||
0002-cmake-config-add-backwards-compatibility.patch
|
||||
0003-remove-missing-symbol.patch
|
||||
0004-add-missing-linked-library.patch
|
||||
0005-fix-static-build.patch
|
||||
)
|
||||
|
||||
set(WEBP_BUILD_ANIM_UTILS OFF)
|
||||
|
Loading…
x
Reference in New Issue
Block a user