summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake
diff options
context:
space:
mode:
authorKarl Cheng <qantas94heavy@gmail.com>2019-05-10 07:56:07 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-05-12 12:45:27 +0000
commite6ad8433954db069908bac240f39911fc32e5025 (patch)
treee655e16ddc932b6e936ca8ff85626ee5c0fdf023 /CMakeScripts/DefineDependsandFlags.cmake
parentrename to avoid name clashes. (diff)
downloadinkscape-e6ad8433954db069908bac240f39911fc32e5025.tar.gz
inkscape-e6ad8433954db069908bac240f39911fc32e5025.zip
Remove support for LCMS 1
Now that all platforms (including macOS) now support LCMS 2, we no longer need to support LCMS 1. Fixes: https://bugs.launchpad.net/inkscape/+bug/1133014
Diffstat (limited to 'CMakeScripts/DefineDependsandFlags.cmake')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake11
1 files changed, 1 insertions, 10 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 6373314fa..84a1c2f07 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -81,7 +81,6 @@ if(WITH_JEMALLOC)
endif()
if(ENABLE_LCMS)
- unset(HAVE_LIBLCMS1)
unset(HAVE_LIBLCMS2)
find_package(LCMS2)
if(LCMS2_FOUND)
@@ -90,15 +89,7 @@ if(ENABLE_LCMS)
add_definitions(${LCMS2_DEFINITIONS})
set (HAVE_LIBLCMS2 ON)
else()
- find_package(LCMS)
- if(LCMS_FOUND)
- list(APPEND INKSCAPE_INCS_SYS ${LCMS_INCLUDE_DIRS})
- list(APPEND INKSCAPE_LIBS ${LCMS_LIBRARIES})
- add_definitions(${LCMS_DEFINITIONS})
- set (HAVE_LIBLCMS1 ON)
- else()
- set(ENABLE_LCMS OFF)
- endif()
+ set(ENABLE_LCMS OFF)
endif()
endif()