From 58adb09ef144beecfbb89b58c5735c0142c6f999 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 12 Feb 2023 00:18:03 +0100 Subject: Load images from their installation directory Signed-off-by: Olivier Gayot --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index cc25b39..8ff2ca9 100644 --- a/meson.build +++ b/meson.build @@ -20,3 +20,11 @@ executable('camelsweeper', src_camelsweeper, install: true) install_subdir('img', install_dir: get_option('datadir') / 'camelsweeper') + + +conf_data = configuration_data() +conf_data.set('datadir', get_option('prefix') / get_option('datadir') / 'camelsweeper') + +configure_file(input: 'config.h.in', + output: 'config.h', + configuration: conf_data) -- cgit v1.2.3