mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 05:38:00 +08:00
[freetype] use config and the correct alias (#9311)
* use config and the correct alias @Neumann-A figured out that `add_library(Freetype::Freetype ALIAS freetype)` is defined so instead of Freetype::Freetype use freetype. @qis Also pointed out that freetype uses a cmake config file. Thats why CONFIG parameter is required. * remove usage * bump version to 2.10.1-2 * remove faulty line after usage deletion
This commit is contained in:
parent
e510f8708e
commit
0ee4f000bd
@ -1,5 +1,5 @@
|
||||
Source: freetype
|
||||
Version: 2.10.1-1
|
||||
Version: 2.10.1-2
|
||||
Build-Depends: zlib, bzip2, libpng
|
||||
Homepage: https://www.freetype.org/
|
||||
Description: A library to render fonts.
|
||||
|
@ -72,7 +72,6 @@ file(COPY
|
||||
${SOURCE_PATH}/docs/LICENSE.TXT
|
||||
${SOURCE_PATH}/docs/FTL.TXT
|
||||
${SOURCE_PATH}/docs/GPLv2.TXT
|
||||
${CMAKE_CURRENT_LIST_DIR}/usage
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/freetype
|
||||
)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/freetype/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/freetype/copyright)
|
||||
|
@ -1,4 +0,0 @@
|
||||
The package freetype is compatible with built-in CMake targets:
|
||||
|
||||
find_package(Freetype REQUIRED)
|
||||
target_link_libraries(main PRIVATE Freetype::Freetype)
|
Loading…
x
Reference in New Issue
Block a user