mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:29:08 +08:00
[pangolin] Fix the link error in static build (#14082)
This commit is contained in:
parent
bc61b70a42
commit
02466202b2
@ -1,7 +1,7 @@
|
||||
Source: pangolin
|
||||
Version: 0.5
|
||||
Port-Version: 10
|
||||
Port-Version: 11
|
||||
Build-Depends: eigen3, glew, libpng, libjpeg-turbo, ffmpeg
|
||||
Homepage: https://github.com/stevenlovegrove/Pangolin
|
||||
Description: Lightweight GUI Library
|
||||
Supports: !uwp & !osx & !(windows&static)
|
||||
Supports: !uwp & !osx
|
||||
|
@ -38,7 +38,7 @@ index 4f77e5a..151762f 100644
|
||||
|
||||
IF(AVCODEC_INCLUDE_DIR AND AVFORMAT_INCLUDE_DIR AND AVUTIL_INCLUDE_DIR AND SWSCALE_INCLUDE_DIR AND AVCODEC_LIBRARY AND AVFORMAT_LIBRARY AND AVUTIL_LIBRARY AND SWSCALE_LIBRARY AND AVUTIL_HAVE_PIXDESC)
|
||||
+ IF (WIN32)
|
||||
+ SET(AVFORMAT_LIBRARY ${AVFORMAT_LIBRARY} Ws2_32 Secur32 Bcrypt)
|
||||
+ SET(AVFORMAT_LIBRARY ${AVFORMAT_LIBRARY} Ws2_32 Secur32 Bcrypt strmiids mfplat mfuuid)
|
||||
+ ENDIF()
|
||||
SET(FFMPEG_FOUND TRUE)
|
||||
- SET(FFMPEG_LIBRARIES ${AVCODEC_LIBRARY} ${AVFORMAT_LIBRARY} ${AVUTIL_LIBRARY} ${SWSCALE_LIBRARY})
|
||||
|
@ -1,3 +1,5 @@
|
||||
vcpkg_fail_port_install(ON_TARGET "OSX" "UWP")
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
|
Loading…
Reference in New Issue
Block a user