summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/pango/meson.build b/pango/meson.build
index 25b939f7..c44853de 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -233,6 +233,9 @@ if build_pangoft2
dependencies: pango_deps + [ libpango_dep ],
sources: pangoft2_dep_sources,
)
+else
+ # For usage as a subproject
+ libpangoft2_dep = dependency('', required : false)
endif
# Xft
@@ -289,6 +292,9 @@ if xft_dep.found()
dependencies: pango_deps + [ libpango_dep, libpangoft2_dep ],
sources: pangoxft_dep_sources,
)
+else
+ # For usage as a subproject
+ libpangoxft_dep = dependency('', required: false)
endif
# Win32
@@ -341,6 +347,9 @@ if host_system == 'windows'
include_directories: root_inc,
dependencies: pango_deps + [ libpango_dep ],
)
+else
+ # For usage as a subproject
+ libpangowin32_dep = dependency('', required: false)
endif
# Cairo
@@ -437,4 +446,7 @@ if cairo_dep.found()
dependencies: pango_deps + [ libpango_dep ],
sources: pangocairo_dep_sources,
)
+else
+ # For usage as a subproject
+ libpangocairo_dep = dependency('', required: false)
endif