From 1a28d85dc3f8f062401002bebc8e8a59805cce9b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 3 Sep 2017 13:14:25 +0000 Subject: Add new Fl_SVG_Image class to support scalable vector graphics images using the (modified) nanosvg software. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CMake/options.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CMake') diff --git a/CMake/options.cmake b/CMake/options.cmake index fcdfe265f..e93ba5bee 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -148,6 +148,13 @@ else() set(FLTK_CAIRO_FOUND FALSE) endif(LIB_CAIRO AND OPTION_CAIROEXT AND PKG_CAIRO_FOUND) +####################################################################### +option(OPTION_USE_NANOSVG "support SVG images" ON) + +if(OPTION_USE_NANOSVG) + set(FLTK_USE_NANOSVG 1) +endif(OPTION_USE_NANOSVG) + ####################################################################### set(HAVE_GL LIB_GL OR LIB_MesaGL) -- cgit v1.2.3