summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-07-19 18:47:13 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-07-19 18:47:13 +0800
commitda059347f8df5fc180b4538d9d3c50867c401fbd (patch)
tree11065fb0bddbaadfe0fff506827c92f782185a5c /meson_options.txt
parent24e079c3ef47702a38266d404aac204b701038ad (diff)
downloadpango-da059347f8df5fc180b4538d9d3c50867c401fbd.tar.gz
build: Only use fallback dep for FontConfig when needed/requested
Windows and macOS only optionally requires FontConfig, so: -Add an option, for Windows and macOS, whether we want to use FontConfig on these platforms. This is ignored on *NIX, where FontConfig will always be used. -We still look for FontConfig first via pkg-config files, and on MSVC builds, via looking for its headers and .lib files. If FontConfig is required (or requested) but is not found, we then use the fallback dependency for it.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index d2f5f302..7a59fa2b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,3 +10,7 @@ option('install-tests',
description : 'Install tests',
type: 'boolean',
value: 'false')
+option('use_fontconfig',
+ description : 'Force using FontConfig where it is optional, on Windows and macOS. This is ignored on platforms where it is required',
+ type: 'boolean',
+ value: 'false')