2018-03-13 02:14:37 +00:00
|
|
|
--- a/geocode-glib/tests/meson.build
|
|
|
|
+++ b/geocode-glib/tests/meson.build
|
|
|
|
@@ -1,4 +1,4 @@
|
2022-07-01 23:24:22 +01:00
|
|
|
-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name
|
|
|
|
+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name
|
2018-03-13 02:14:37 +00:00
|
|
|
|
|
|
|
e = executable('geo-uri',
|
|
|
|
'geo-uri.c',
|
2022-07-01 23:24:22 +01:00
|
|
|
--- 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')
|