mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-30 11:41:53 -07:00
CMake, Meson: install config and wallpapers to DATADIR/hypr
OpenGL: get wallpapers dir from DATAROOTDIR
This commit is contained in:
@@ -9,6 +9,7 @@ project('Hyprland', 'cpp', 'c',
|
||||
'cpp_std=c++23',
|
||||
])
|
||||
|
||||
datarootdir = '-DDATAROOTDIR="' + get_option('prefix') / get_option('datadir') + '"'
|
||||
add_project_arguments(
|
||||
[
|
||||
'-Wno-unused-parameter',
|
||||
@@ -16,6 +17,7 @@ add_project_arguments(
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-narrowing',
|
||||
'-Wno-pointer-arith',
|
||||
datarootdir,
|
||||
],
|
||||
language: 'cpp')
|
||||
|
||||
|
Reference in New Issue
Block a user