summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-05-01 14:40:32 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-05-01 19:05:38 +0000
commit5668522413c831d6f1c607e1c87a0b1e1ee3cbc5 (patch)
treeacf384cd68a0eafe2cc5da09c89fe23f87c6ddfa /util
parentfda57947b4cbb36403c0245ed503a88b4d96cddf (diff)
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 58ab106555..fe853bb910 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -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,