Comment 73 for bug 885324

Revision history for this message
In , Anantapalani (anantapalani) wrote :

(In reply to comment #15)
> I add LCMS2 detection script to digiKam (it's the same than Libkdcraw).
>
> It work better now ?

It works for libkdcraw as expected when building digikam-sc, but digiKam still can't compile because the method of detection that Francesco used does not use FindLCMS2.cmake, so either digiKam's CMakeFile.txt needs to be modified to use FindLCMS2.cmake or relevent code from the .cmake needs to be ported.

Also, if both lcms1 and lcms2 are on a system, libkdcraw will automatically build using lcms2. However, digiKam will only build with lcms2 support if -DENABLE_LCMS2=1. Would having libkdcraw built agains lcms2 but digiKam built against lcms1 be a problem? If so, it would be useful if the -DENABLE_LCMS2 can be toggled for libkdcraw as well (such that configuring this option for digikam-sc would cause it to apply to libkdcraw as well). Of course, if everything works fine with them built against different version of lcms, then that isn't a problem I guess, but it is slightly unexpected from a build perspective.