meson: replace join_paths() with / operator

This commit is contained in:
illiliti 2022-06-28 10:51:10 +03:00 committed by Simon Ser
parent 42ae1e75aa
commit 1266f7424f

View file

@ -1,6 +1,6 @@
icondir = get_option('icon_directory') icondir = get_option('icon_directory')
if icondir == '' if icondir == ''
icondir = join_paths(get_option('prefix'), get_option('datadir'), 'icons') icondir = get_option('prefix') / get_option('datadir') / 'icons'
endif endif
add_project_arguments('-DICONDIR="@0@"'.format(icondir), language : 'c') add_project_arguments('-DICONDIR="@0@"'.format(icondir), language : 'c')