Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkcgen <kcgen@users.noreply.github.com>2022-09-25 23:52:28 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-26 17:15:56 +0300
commitc3f7e1e7ce0cac33feb85a81ed9a46d34d1c2b40 (patch)
treed813c9c4388fd8d8ad9db6a647ca1f8bb087355c /meson.build
parentc6cb0245eab417b802c54ccee3d551444f36fcd1 (diff)
Lookup resources in a custom meson-setup "--datadir"
Big thanks to @eli-schwartz for helping with this! Co-Authored-By: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 0daa06777..a8a6d3d24 100644
--- a/meson.build
+++ b/meson.build
@@ -145,6 +145,7 @@ endforeach
conf_data = configuration_data()
conf_data.set('version', meson.project_version())
conf_data.set('project_name', meson.project_name())
+conf_data.set_quoted('CUSTOM_DATADIR', get_option('prefix') / get_option('datadir'))
os_family_name = {
'linux' : 'LINUX',