mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Resources path should use the same path as meson installed path
This commit is contained in:
@@ -31,13 +31,16 @@ dep = [
|
||||
mglpp_dep,
|
||||
]
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = get_option('datadir')
|
||||
gsr_overlay_resources_path = join_paths(prefix, datadir, 'gsr-overlay')
|
||||
|
||||
executable(
|
||||
meson.project_name(),
|
||||
src,
|
||||
install : true,
|
||||
dependencies : dep,
|
||||
cpp_args : '-DGSR_OVERLAY_RESOURCES_PATH="' + gsr_overlay_resources_path + '"',
|
||||
)
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = get_option('datadir')
|
||||
install_subdir('images', install_dir : join_paths(prefix, datadir, 'gsr-overlay'))
|
||||
install_subdir('images', install_dir : gsr_overlay_resources_path)
|
||||
Reference in New Issue
Block a user