mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-28 14:15:38 +00:00
meson.source_root() is deprecated since 0.56, and should be replaced with either project_source_root or global_source_root depending on whether it is supposed to refer to a different subproject if the current project is a subproject. The default for source_root itself was the latter, which is broken in subproject builds, and is also incorrect for us since our usage is to construct the path to a file that is part of the zoitechat source tree. Make this work semantically correctly by specifically accessing the root of the current (sub)project, and fix a deprecation warning in the process. Signed-off-by: Eli Schwartz <[email protected]>