(In reply to comment #22)
> No problem Francesco.
>
> I checked with LDD, and digiKam and libkdcraw are properly linked with lcms2,
> or lcms1, not with both at the same time.
>
> I see a pending problem on my computer : The lcms2 includes path passed to
> cmake to compile digiKam/libkdcraw is empty. I don't know why. It must be
> filled by lcms2 detection script. Variable is LCMS2_INCLUDE_DIR.
>
> I print it here in lead cmake script :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/CMakeLists.txt#L173
>
> Can you confirm this ?
confirmed, but lcms2.h is into /usr/include/, which is the canonical path for includes, maybe the variable is empty if the header is in that default path.
from `cmake --help-command FIND_PATH`:
<<If nothing is found, the result will be <VAR>-NOTFOUND,>>
not empty
(In reply to comment #22) /projects. kde.org/ projects/ extragear/ graphics/ digikam/ repository/ revisions/ master/ entry/CMakeList s.txt#L173
> No problem Francesco.
>
> I checked with LDD, and digiKam and libkdcraw are properly linked with lcms2,
> or lcms1, not with both at the same time.
>
> I see a pending problem on my computer : The lcms2 includes path passed to
> cmake to compile digiKam/libkdcraw is empty. I don't know why. It must be
> filled by lcms2 detection script. Variable is LCMS2_INCLUDE_DIR.
>
> I print it here in lead cmake script :
>
> https:/
>
> Can you confirm this ?
confirmed, but lcms2.h is into /usr/include/, which is the canonical path for includes, maybe the variable is empty if the header is in that default path.
from `cmake --help-command FIND_PATH`:
<<If nothing is found, the result will be <VAR>-NOTFOUND,>>
not empty
on the other hand
`grep LCMS2_INCLUDE CMakeCache.txt` R:INTERNAL= /usr/include DIRS:INTERNAL=
LCMS2_INCLUDEDI
LCMS2_INCLUDE_
and show that LCMS2_INCLUDEDIR has indeed the correct path.