From e6ad8433954db069908bac240f39911fc32e5025 Mon Sep 17 00:00:00 2001 From: Karl Cheng Date: Fri, 10 May 2019 17:56:07 +1000 Subject: 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 --- CMakeScripts/DefineDependsandFlags.cmake | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'CMakeScripts/DefineDependsandFlags.cmake') 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() -- cgit v1.2.3