mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[freetype] avoid target_link_libraries call since qt6 does not like it. (#15112)
This commit is contained in:
parent
dd9826c3b6
commit
191e01fe2c
@ -1,6 +1,6 @@
|
|||||||
Source: freetype
|
Source: freetype
|
||||||
Version: 2.10.2
|
Version: 2.10.2
|
||||||
Port-Version: 6
|
Port-Version: 7
|
||||||
Homepage: https://www.freetype.org/
|
Homepage: https://www.freetype.org/
|
||||||
Description: A library to render fonts.
|
Description: A library to render fonts.
|
||||||
Default-Features: zlib, bzip2, png, brotli
|
Default-Features: zlib, bzip2, png, brotli
|
||||||
|
@ -34,9 +34,15 @@ if(TARGET Freetype::Freetype)
|
|||||||
if(@USE_PNG@)
|
if(@USE_PNG@)
|
||||||
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES PNG::PNG)
|
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES PNG::PNG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(@USE_BROTLI@)
|
if(@USE_BROTLI@)
|
||||||
target_link_libraries(Freetype::Freetype INTERFACE ${BROTLIDEC_LIBRARIES} ${BROTLICOMMON_LIBRARIES})
|
if(BROTLIDEC_LIBRARY_DEBUG)
|
||||||
|
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<$<CONFIG:DEBUG>:${BROTLIDEC_LIBRARY_DEBUG}>)
|
||||||
|
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<$<CONFIG:DEBUG>:${BROTLICOMMON_LIBRARY_DEBUG}>)
|
||||||
|
endif()
|
||||||
|
if(BROTLIDEC_LIBRARY_RELEASE)
|
||||||
|
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<$<NOT:$<CONFIG:DEBUG>>:${BROTLIDEC_LIBRARY_RELEASE}>)
|
||||||
|
set_property(TARGET Freetype::Freetype APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<$<NOT:$<CONFIG:DEBUG>>:${BROTLICOMMON_LIBRARY_RELEASE}>)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user