mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
build: Pass library as first argument to pkgconfig.generate()
Eliminates this warning when building wlroots as a subproject: subprojects/wlroots/meson.build:216: DEPRECATION: Library wlroots was passed to the libraries keyword argument of a previous call to generate() method instead of first positional argument. Adding wlroots to Requires field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case.
This commit is contained in:
parent
3317134adf
commit
fe72400bad
1 changed files with 1 additions and 2 deletions
|
@ -213,8 +213,7 @@ message('\n'.join(summary))
|
|||
subdir('examples')
|
||||
|
||||
pkgconfig = import('pkgconfig')
|
||||
pkgconfig.generate(
|
||||
libraries: lib_wlr,
|
||||
pkgconfig.generate(lib_wlr,
|
||||
version: meson.project_version(),
|
||||
filebase: meson.project_name(),
|
||||
name: meson.project_name(),
|
||||
|
|
Loading…
Reference in a new issue