mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 05:38:00 +08:00
[freetype] Fix wrong brotli linkage (#20849)
* [freetype] fix brotli module * [skip actions] version stuff * bump port version * version stuff
This commit is contained in:
parent
48dcbd29b3
commit
d830a75c99
@ -2,21 +2,20 @@ diff --git a/builds/cmake/FindBrotliDec.cmake b/builds/cmake/FindBrotliDec.cmake
|
||||
index 46356b1fd..ed4cc2409 100644
|
||||
--- a/builds/cmake/FindBrotliDec.cmake
|
||||
+++ b/builds/cmake/FindBrotliDec.cmake
|
||||
@@ -35,10 +35,18 @@ find_path(BROTLIDEC_INCLUDE_DIRS
|
||||
@@ -35,10 +35,17 @@ find_path(BROTLIDEC_INCLUDE_DIRS
|
||||
PATH_SUFFIXES brotli)
|
||||
|
||||
find_library(BROTLIDEC_LIBRARIES
|
||||
- NAMES brotlidec
|
||||
+ NAMES brotlidec brotlidec-static
|
||||
+ NAMES brotlidec brotlidec-static NAMES_PER_DIR
|
||||
HINTS ${PC_BROTLIDEC_LIBDIR}
|
||||
${PC_BROTLIDEC_LIBRARY_DIRS})
|
||||
|
||||
+find_library(BROTLICOMMON_LIBRARIES
|
||||
+ NAMES brotlicommon-static
|
||||
+ HINTS ${PC_BROTLIDEC_LIBDIR}
|
||||
+ ${PC_BROTLIDEC_LIBRARY_DIRS})
|
||||
+
|
||||
+if(BROTLICOMMON_LIBRARIES)
|
||||
+if(BROTLIDEC_LIBRARIES MATCHES "-static")
|
||||
+ find_library(BROTLICOMMON_LIBRARIES
|
||||
+ NAMES brotlicommon-static
|
||||
+ HINTS ${PC_BROTLIDEC_LIBDIR}
|
||||
+ ${PC_BROTLIDEC_LIBRARY_DIRS})
|
||||
+ set(BROTLIDEC_LIBRARIES ${BROTLIDEC_LIBRARIES} ${BROTLICOMMON_LIBRARIES})
|
||||
+endif()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "freetype",
|
||||
"version-semver": "2.11.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A library to render fonts.",
|
||||
"homepage": "https://www.freetype.org/",
|
||||
"dependencies": [
|
||||
|
@ -2250,7 +2250,7 @@
|
||||
},
|
||||
"freetype": {
|
||||
"baseline": "2.11.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"freetype-gl": {
|
||||
"baseline": "2020-09-14",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9d21ff9f7071d83c1e04eca8cae21b99438400d8",
|
||||
"version-semver": "2.11.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "a314ebd21048f1cf17a6b4330d9970c661f8fea7",
|
||||
"version-semver": "2.11.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user