Bug#1086937: pfstools: build against imagemagick 7

Andreas Metzler ametzler at bebt.de
Mon Nov 11 10:43:05 GMT 2024


On 2024-11-11 Emilio Pozuelo Monfort <pochu at debian.org> wrote:
[...]
> A simple pkg-config call gives the correct includes, e.g.:

> pkg-config --cflags Magick++
> -I/usr/include/x86_64-linux-gnu/ImageMagick-7 -I/usr/include/ImageMagick-7
> -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
> -DMAGICKCORE_CHANNEL_MASK_DEPTH=32

> I'm not sure what cmake is doing.

I do not know why but cmake find-files rarely /rely/ on pkgconf, they
might /require/ the pc file to check existence (perhaps with an override
possibility) but follow up with doing manual searches in the filesystem
instead of using the data from pkgconf. Looks NIH-ish to me but I am sure
there is a good reason. ;-)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-phototools-devel mailing list