cmake: Update Gluon macros to make use of recent CMake features
cmake: Update Gluon macros to make use of recent CMake features

Now each target will have the appropriate libraries and include
directories set so it is only necessary to link against the target.

KDE/gluon,KDE/gluon,KDE/gluon,KDE/gluon