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
|
@ -34,8 +34,8 @@ accounts_service_iface_c = custom_target(
|
|||
)
|
||||
|
||||
accounts_service_extension_ifaces = [
|
||||
join_paths(meson.source_root(), 'accounts-service', 'com.endlessm.ParentalControls.AppFilter.xml'),
|
||||
join_paths(meson.source_root(), 'accounts-service', 'com.endlessm.ParentalControls.SessionLimits.xml'),
|
||||
join_paths(meson.current_source_dir(), '..', '..', 'accounts-service', 'com.endlessm.ParentalControls.AppFilter.xml'),
|
||||
join_paths(meson.current_source_dir(), '..', '..', 'accounts-service', 'com.endlessm.ParentalControls.SessionLimits.xml'),
|
||||
]
|
||||
|
||||
accounts_service_extension_iface_h = custom_target(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue