imageworks/OpenColorIO — pull request #193 by hobbes1069 (2011-12-01 20:27:30+00:00)
Title: Non-intrusive method of using system LCMS2.

I reworked my original patch to make it less intrusive.

Basically, it uses cmake's pkg-config module to see if lcms2 >= 2.1 is available on the system and uses it if it is. Otherwise it fails back to using the bundled lcms2.

Currently I'm using message(STATUS... if the bundled library is used. At some point in the future it should probably be changed for a WARNING so distro packagers know they need to install lcms2-devel.