fb2877c36f
https://gitlab.gnome.org/GNOME/geocode-glib/-/compare/3.26.2...3.26.3 - Add support for linking against libsoup 3 (incompatible ABI). - Format the expression. - Register installed tests (currently broken).
21 lines
791 B
Diff
21 lines
791 B
Diff
--- a/geocode-glib/tests/meson.build
|
|
+++ b/geocode-glib/tests/meson.build
|
|
@@ -1,4 +1,4 @@
|
|
-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name
|
|
+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name
|
|
|
|
e = executable('geo-uri',
|
|
'geo-uri.c',
|
|
--- a/meson_options.txt
|
|
+++ b/meson_options.txt
|
|
@@ -1,6 +1,9 @@
|
|
option('enable-installed-tests',
|
|
type: 'boolean', value: true,
|
|
description: 'Build & install test programs')
|
|
+option('installed_test_prefix',
|
|
+ type: 'string', value: '',
|
|
+ description: 'Prefix for installed tests')
|
|
option('enable-introspection',
|
|
type: 'boolean', value: true,
|
|
description: 'Whether to enable the introspection generation')
|