cmake: fix find_package related naming mismatch for GLIB2
The package name passed to find_package_handle_standard_args
(GLIB2) did not match the name of the calling package (GLib2).
This could lead to problems when calling code that expects find_package
.
result variables (e.g. _FOUND
) expect to follow a certain pattern.
fixes #319 (closed)