FreeImage currently does not install a pkg-config [1] file, aka. .pc file, which makes integration whith build-systems way harder than it should be.
How these kind of file should be written is explained in details in the Guide to pkg-config [2].
Please consider adding support for pkg-config.
[1] https://www.freedesktop.org/wiki/Software/pkg-config/
[2] https://people.freedesktop.org/~dbn/pkg-config-guide.html
Anonymous