build: Use meson.current_source_dir() instead of source_root()
The latter doesn’t work well when building as a subproject — it explicitly refers to the parent project root. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
c4853f0f02
commit
d085c7f585
4 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ endif
|
|||
resources = gnome.compile_resources(
|
||||
'resources',
|
||||
'malcontent-ui.gresource.xml',
|
||||
source_dir: meson.source_root(),
|
||||
source_dir: meson.current_source_dir(),
|
||||
)
|
||||
|
||||
libmalcontent_ui_sources = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue