> It works for libkdcraw as expected when building digikam-sc...
Ah. For me it doesn't work :
-- Starting CMake configuration for: libkdcraw
CMake Warning at extra/libkdcraw/CMakeLists.txt:110 (FIND_PACKAGE):
Could not find module FindLCMS2.cmake or a configuration file for package
LCMS2.
Adjust CMAKE_MODULE_PATH to find FindLCMS2.cmake or set LCMS2_DIR to the
directory containing a CMake configuration file for LCMS2. The file will
have one of the following names:
LCMS2Config.cmake
lcms2-config.cmake
Of course i cleaned previous cmake cache before... Strange...
> It works for libkdcraw as expected when building digikam-sc...
Ah. For me it doesn't work :
-- Starting CMake configuration for: libkdcraw /CMakeLists. txt:110 (FIND_PACKAGE):
CMake Warning at extra/libkdcraw
Could not find module FindLCMS2.cmake or a configuration file for package
LCMS2.
Adjust CMAKE_MODULE_PATH to find FindLCMS2.cmake or set LCMS2_DIR to the
directory containing a CMake configuration file for LCMS2. The file will
have one of the following names:
LCMS2Config .cmake config. cmake
lcms2-
Of course i cleaned previous cmake cache before... Strange...
lcms2 is of course installed on my computer :
[gilles@localhost include]$ pwd
/usr/include
[gilles@localhost include]$ ls -al *lcms*
-rw-r--r-- 1 root root 93522 janv. 28 14:37 lcms2.h
-rw-r--r-- 1 root root 24728 janv. 28 14:37 lcms2_plugin.h
-rw-r--r-- 1 root root 78034 janv. 18 2011 lcms.h
[gilles@localhost lib64]$ pwd
/usr/lib64
[gilles@localhost lib64]$ ls -al *lcms*
lrwxrwxrwx 1 root root 17 janv. 28 14:55 liblcms2.so -> liblcms2.so.2.0.3*
lrwxrwxrwx 1 root root 17 janv. 28 14:55 liblcms2.so.2 -> liblcms2.so.2.0.3*
-rwxr-xr-x 1 root root 320296 janv. 28 14:37 liblcms2.so.2.0.3*
Gilles