summaryrefslogtreecommitdiff
path: root/libgweather
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-08-22 18:47:50 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-08-22 18:47:50 +0100
commit99e496010eecadfb6a6931288dcc5149b37bbdd9 (patch)
tree76ecd99f05eef0e8b6a7f0205155fec6157d8d26 /libgweather
parent0a069ee9fea75a3caebcbe43005d3ad7d9e3c116 (diff)
downloadlibgweather-99e496010eecadfb6a6931288dcc5149b37bbdd9.tar.gz
build: Disable documentation when cross-compiling
The API reference depends on the introspection data, and in order to build that, we have to ensure that we are not cross-compiling. Fixes: #170
Diffstat (limited to 'libgweather')
-rw-r--r--libgweather/meson.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgweather/meson.build b/libgweather/meson.build
index 22738e6..d076c5f 100644
--- a/libgweather/meson.build
+++ b/libgweather/meson.build
@@ -200,9 +200,6 @@ lib_libgweather = library('gweather-4',
install: true,
)
-g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection'))
-build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build()
-
enable_vala = get_option('enable_vala')
vapigen = find_program('vapigen', required: enable_vala == 'true')
if enable_vala == 'auto' or enable_vala == 'true'