2022-10-21 18:38:19 +00:00
|
|
|
diff --git a/geocode-glib/tests/meson.build b/geocode-glib/tests/meson.build
|
|
|
|
index 5cd1fca..c2f9a9d 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/geocode-glib/tests/meson.build
|
|
|
|
+++ b/geocode-glib/tests/meson.build
|
2022-10-21 18:38:19 +00:00
|
|
|
@@ -1,5 +1,5 @@
|
2022-07-14 12:49:19 +00:00
|
|
|
-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name
|
2022-10-21 18:38:19 +00:00
|
|
|
-install_bindir = get_option('prefix') / get_option('libexecdir') / library_name
|
2022-07-14 12:49:19 +00:00
|
|
|
+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name
|
2022-10-21 18:38:19 +00:00
|
|
|
+install_bindir = get_option('installed_test_prefix') / 'libexec' / library_name
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
e = executable('geo-uri',
|
|
|
|
'geo-uri.c',
|
2022-10-21 18:38:19 +00:00
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
|
|
|
index 62b713d..1454416 100644
|
2022-07-14 12:49:19 +00: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')
|