gpodder/libmygpo-qt — pull request #1 by krop (2011-11-15 14:19:02+00:00)
Title: buildsystem fixes & small improvement

- Restore LIB_SUFFIX (that's what packagers usually use) which also fixes the library install path,
- Cleanup here & there
- Use QT_USE_IMPORTED_TARGETS:

If libmygpo-qt is built with a recent CMake, this command replaces the absolute path in Mygpo-qtTargets-*.cmake

Before:
IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE "qjson;QtCore;/usr/lib64/libQtCore.so;/usr/lib64/libQtNetwork.so"

After:
IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE "qjson;QtCore;Qt4::QtCore;Qt4::QtNetwork"

This change allows to use eg a distro libmygpo package and build Amarok with a different Qt version