Could you have another version of FindLCMS2.cmake on your system somewhere? Your 'found' message does not look consistent with the file included in libkdcraw/digikam:
Found lcms version ${LCMS2_MAJOR_VERSION}.${LCMS2_MINOR_VERSION}, ${LCMS2_LIBRARIES}
so maybe cmake is using the wrong one? The commit I just made may fix your problem regardless.
Gilles,
Could you have another version of FindLCMS2.cmake on your system somewhere? Your 'found' message does not look consistent with the file included in libkdcraw/digikam:
Found lcms version ${LCMS2_ MAJOR_VERSION} .${LCMS2_ MINOR_VERSION} , ${LCMS2_LIBRARIES}
so maybe cmake is using the wrong one? The commit I just made may fix your problem regardless.
-Ananta