LCMS code removed, was an experiment but never finished.
[blender.git] / CMakeLists.txt
index 4304686544a440b089852025b5712e6ad6c9027b..83e6705e4981238571c5623e177b1957e371bb41 100644 (file)
@@ -202,9 +202,6 @@ if(APPLE)
        option(WITH_LIBS10.5  "Use 10.5 libs (needed for 64bit builds)" OFF)
 endif()
 
-# only for developers who want to make this functional
-# option(WITH_LCMS          "Enable color correction with lcms" OFF)
-
 if(NOT WITH_GAMEENGINE AND WITH_PLAYER)
        message(FATAL_ERROR "WITH_PLAYER requires WITH_GAMEENGINE")
 endif()
@@ -379,13 +376,6 @@ if(UNIX AND NOT APPLE)
 
        find_package(ZLIB REQUIRED)
 
-       if(WITH_LCMS)
-               set(LCMS /usr CACHE FILEPATH "LCMS directory")
-               set(LCMS_INCLUDE_DIR ${LCMS}/include)
-               set(LCMS_LIBRARY lcms)
-               set(LCMS_LIBPATH ${LCMS}/lib)
-       endif()
-
        if(WITH_CODEC_FFMPEG)
                set(FFMPEG /usr CACHE FILEPATH "FFMPEG Directory")
                mark_as_advanced(FFMPEG)
@@ -640,14 +630,7 @@ elseif(WIN32)
                        set(OPENCOLLADA_LIB OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils OpenCOLLADAStreamWriter MathMLSolver GeneratedSaxParser xml2 buffer ftoa UTF)
                        set(PCRE_LIB pcre)
                endif()
-               
-               if(WITH_LCMS)
-                       set(LCMS ${LIBDIR}/lcms)
-                       set(LCMS_INCLUDE_DIR ${LCMS}/include)
-                       set(LCMS_LIBPATH ${LCMS}/lib)
-                       set(LCMS_LIB lcms)
-               endif()
-
+       
                if(WITH_CODEC_FFMPEG)
                        set(FFMPEG ${LIBDIR}/ffmpeg)
                        set(FFMPEG_INC ${FFMPEG}/include ${FFMPEG}/include/msvc)
@@ -910,13 +893,6 @@ elseif(APPLE)
                set(OPENEXR_LIBPATH ${OPENEXR}/lib)
        endif()
 
-       if(WITH_LCMS)
-               set(LCMS ${LIBDIR}/lcms)
-               set(LCMS_INCLUDE_DIR ${LCMS}/include)
-               set(LCMS_LIBRARY lcms)
-               set(LCMS_LIBPATH ${LCMS}/lib)
-       endif()
-
        if(WITH_CODEC_FFMPEG)
                set(FFMPEG ${LIBDIR}/ffmpeg)
                set(FFMPEG_INC ${FFMPEG}/include)