Skip to content

Commit

Permalink
meson: Support meson's subproject layout.
Browse files Browse the repository at this point in the history
As libwpe, wpebackend-fdo can be used as a meson's subproject.
  • Loading branch information
ceyusa authored and aperezdc committed Sep 2, 2021
1 parent e4c578f commit ae6cf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

version = {}
version_re = re.compile(r"^#define\s+WPE_FDO_([A-Z]+)_VERSION\s+(\d+)$")
version_file = path.join(environ["MESON_SOURCE_ROOT"],
version_file = path.join(environ["MESON_SOURCE_ROOT"], environ["MESON_SUBDIR"],
"include", "wpe", "wpebackend-fdo-version.h")

with open(version_file, "r") as f:
Expand Down

0 comments on commit ae6cf3f

Please sign in to comment.