[babl: 1/3] meson: Fix build setup wihtout lcms



commit ab86d8d2d61b1345a12c897faac573d8405223c0
Author: Jan Vesely <jan vesely rutgers edu>
Date:   Thu Dec 6 17:08:32 2018 -0500

    meson: Fix build setup wihtout lcms
    
    Signed-off-by: Jan Vesely <jan vesely rutgers edu>

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index f617f15..21958b4 100644
--- a/meson.build
+++ b/meson.build
@@ -274,6 +274,8 @@ if with_lcms
   if lcms.found()
     conf.set('HAVE_LCMS', 1, description: 'Define to 1 if liblcms2 is available')
   endif
+else
+  lcms = dependency('', required : false)
 endif
 
 math = cc.find_library('m',   required: false)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]