summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-11 21:01:18 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-03-11 21:01:18 +0000
commit5ec5468f0097d85909a62d55c9fbdc0f92b303b3 (patch)
treed55f5698fcda93280a1badfa36f094c9ac204eef /meson.build
parent2b261300543b6cc673ca09509f9ace1bbb4a6c06 (diff)
parent09bf1b41b40151044644d0e35ba9949007fc83cd (diff)
downloadpango-5ec5468f0097d85909a62d55c9fbdc0f92b303b3.tar.gz
Merge branch 'hb-dont-fallback-too-early' into 'master'
build: Don't build HarfBuzz prematurely See merge request GNOME/pango!291
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index f9e63347..12a1f38e 100644
--- a/meson.build
+++ b/meson.build
@@ -239,9 +239,7 @@ fontconfig_pc=''
harfbuzz_lib=''
fontconfig_lib=''
-harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version, required: false,
- fallback: ['harfbuzz', 'libharfbuzz_dep'],
- default_options: ['coretext=enabled'])
+harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version, required: false)
if harfbuzz_dep.found()
harfbuzz_pc = 'harfbuzz'
else
@@ -262,7 +260,8 @@ endif
# when finding dependencies via CMake files is fixed.
if not harfbuzz_dep.found()
harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version,
- fallback: ['harfbuzz', 'libharfbuzz_dep'])
+ fallback: ['harfbuzz', 'libharfbuzz_dep'],
+ default_options: ['coretext=enabled'])
endif
if not harfbuzz_dep.found()