FindImageMagick: Define targets for specific components
- With this change we can use e.g.
ImageMagick::Magick++
directly intarget_link_libraries
. - This change also adds
CFLAGS
which was missing before. - Also adds example on how to use the targets.
ImageMagick::Magick++
directly in target_link_libraries
.CFLAGS
which was missing before.