summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--meson.build4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 428b3ff6..9b64061a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,7 +94,6 @@ macos:
- meson -Dintrospection=disabled
-Dcpp_std=c++11
-Dpixman:tests=disabled
- -Dharfbuzz:coretext=enabled
_build
- ninja -C _build
artifacts:
diff --git a/meson.build b/meson.build
index aa537940..5bd193c8 100644
--- a/meson.build
+++ b/meson.build
@@ -239,7 +239,9 @@ fontconfig_pc=''
harfbuzz_lib=''
fontconfig_lib=''
-harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version, required: false)
+harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version, required: false,
+ fallback: ['harfbuzz', 'libharfbuzz_dep'],
+ default_options: ['coretext=enabled'])
if harfbuzz_dep.found()
harfbuzz_pc = 'harfbuzz'
else