Change documentation: set "required: false" in meson instructions
In the documentation, inside the instructions on how to compile the project, the meson example isn't working when you don't have libhandy installed, even when you have cloned the repo as a subproject.
The problem resides in this line: libhandy_dep = dependency('libhandy-1', version: '>= 0.81.0')
.
The code below it (if not libhandy_dep.found()
) will never be executed, because if libhandy isn't found, the
compilation will just stop.
libhandy shouldn't be a required dependency if you can build it from the subproject.
Please, consider adding an hint somewhere, or just change the documentation to
libhandy_dep = dependency('libhandy-1', version: '>= 0.81.0', required: false)
.
It will prevent a lot of headaches to people trying to figure out why libhandy doesn't build, even though they have cloned libhandy as a subproject.