14 lines
526 B
Diff
14 lines
526 B
Diff
|
diff --git a/meson.build b/meson.build
|
||
|
index 282c39629da54ba6d7e1e380ffcf70da15e48d83..0c15274bff62b43f95ca7d7c5e29cc2dbd3cc42f 100644
|
||
|
--- a/meson.build
|
||
|
+++ b/meson.build
|
||
|
@@ -29,7 +29,7 @@ null_dep = dependency('', required : false)
|
||
|
|
||
|
demos_data_dir = '../data/'
|
||
|
if get_option('with-system-data-files')
|
||
|
- demos_data_dir = get_option('datadir') / 'mesa-demos'
|
||
|
+ demos_data_dir = get_option('prefix') / get_option('datadir') / 'mesa-demos/'
|
||
|
endif
|
||
|
add_project_arguments(
|
||
|
'-DDEMOS_DATA_DIR="@0@"'.format(demos_data_dir),
|