Make freetype a required package
With qmake if we don't find a system package, we use the bundled one. With CMake we don't provide a bundle freetype, hence it's required to find a system one (or custom provided one). Change-Id: I00a5e2ac55459957dae0729f89bafa792a102152 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
fda57947b4
commit
5668522413
@ -29,7 +29,7 @@ set_package_properties(Libdrm PROPERTIES TYPE OPTIONAL)
|
||||
find_package(EGL)
|
||||
set_package_properties(EGL PROPERTIES TYPE OPTIONAL)
|
||||
find_package(Freetype)
|
||||
set_package_properties(Freetype PROPERTIES TYPE OPTIONAL)
|
||||
set_package_properties(Freetype PROPERTIES TYPE REQUIRED)
|
||||
find_package(Fontconfig)
|
||||
set_package_properties(Fontconfig PROPERTIES TYPE OPTIONAL)
|
||||
find_package(gbm)
|
||||
|
@ -54,7 +54,7 @@ def map_library(lib: str) -> Union[str, LibraryMapping, List[str]]:
|
||||
'drm': 'Libdrm',
|
||||
'egl': 'EGL',
|
||||
'fontconfig': LibraryMapping(package='Fontconfig', resultVariable="FONTCONFIG"),
|
||||
'freetype': 'Freetype',
|
||||
'freetype': ['Freetype', 'REQUIRED'],
|
||||
'gbm': 'gbm',
|
||||
'glib': 'GLIB2',
|
||||
'gnu_iconv': None,
|
||||
|
Loading…
Reference in New Issue
Block a user