Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9665e284 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Check for the presence of lcms 2.4

lcsm 2.4 will be extremely highly recommended, perhaps even mandatory,
for Krita 2.6
parent 2d9d01b4
......@@ -290,11 +290,13 @@ endif( MARBLE_FOUND )
## Test for lcms
##
macro_optional_find_package(LCMS2)
macro_log_feature(LCMS2_FOUND "LittleCMS" "Color management engine" "http://www.littlecms.com" FALSE "2.0" "Will be used for color management and is necesary for Krita")
macro_log_feature(LCMS2_FOUND "LittleCMS" "Color management engine" "http://www.littlecms.com" FALSE "2.4" "Will be used for color management and is necesary for Krita")
if(LCMS2_FOUND)
if(${LCMS2_VERSION} VERSION_GREATER 2.04 )
set(HAVE_LCMS24 TRUE)
endif(${LCMS2_VERSION} VERSION_GREATER 2.04 )
set(HAVE_REQUIRED_LCMS_VERSION TRUE)
set(HAVE_LCMS2 TRUE)
set(HAVE_LCMS TRUE)
endif(LCMS2_FOUND)
##
......
......@@ -33,6 +33,8 @@
/* Defines if we use lcms2 */
#cmakedefine HAVE_LCMS2 1
/* Defines if we use lcms2.4 */
#cmakedefine HAVE_LCMS24 1
/* This file contains all the paths that change when changing the installation prefix */
#define CALLIGRAPREFIX "${CMAKE_INSTALL_PREFIX}"
......
......@@ -31,9 +31,9 @@ if(KDCRAW_FOUND)
add_subdirectory( raw )
endif(KDCRAW_FOUND)
if(JPEG_FOUND AND HAVE_LCMS)
if(JPEG_FOUND AND HAVE_LCMS2)
add_subdirectory(jpeg)
endif(JPEG_FOUND AND HAVE_LCMS)
endif(JPEG_FOUND AND HAVE_LCMS2)
if(TIFF_FOUND)
add_subdirectory(tiff)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment