diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
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) |