;; This library outputs svg files using cairo, if it is available. Otherwise,
;; it prints a warning saying cairo is not available.

(library
 (name svgLib_cairo)
 (public_name acgtk.svg_cairo)
 (implements svgLib)
 (libraries
  utilsLib
  logs
  (select
   svg.ml
   from
   ;; svg_rendering is only available when cairo2 is installed AND the
   ;; dune build profile is not no-cairo
   (svg_rendering -> svg.cairo.ml)
   (-> svg.no_cairo.ml))))
