gul-cpp / gul14

General Utility Library for C++14
https://gul14.info/
GNU Lesser General Public License v2.1
2 stars 1 forks source link

meson: Do not use global arguments when subproject #56

Closed soerengrunewald closed 1 year ago

soerengrunewald commented 1 year ago

When we use libgul as subproject the setup will fail with:

ERROR: Function 'add_global_arguments' cannot be used in subprojects because there is no way to make that reliable.

Fixes: 114b594a821 (meson: Enable extra warnings by default)

Finii commented 1 year ago

And BTW, this is still broken, despite Lars' intervention in the other PR:

image

Edit: Improve image