AchetaGames / Epic-Asset-Manager

A frontend to Assets purchased on Epic Games Store
https://flathub.org/apps/details/io.github.achetagames.epic_asset_manager
MIT License
386 stars 21 forks source link

Fix some Meson deprecated functions and warnings #237

Closed AFCMS closed 4 months ago

AFCMS commented 1 year ago

Since this project support Meson 0.59 and above the meson.source_root and meson.build_root functions can be safely replaced by their non-deprecated versions, removing a few build warnings.

https://mesonbuild.com/Release-notes-for-0-56-0.html#mesonbuild_root-and-mesonsource_root-are-deprecated

I also set the check parameter of the run_command function to true (failing if command status code is not OK) since the default value changed to true in recent Meson versions to unsure a consistent build behaviour between Meson versions and remove a build warning.

aknarts commented 4 months ago

Thanks for the contribution