diff options
| author | Manolo Gouy <Manolo> | 2017-09-03 13:14:25 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-09-03 13:14:25 +0000 |
| commit | 1a28d85dc3f8f062401002bebc8e8a59805cce9b (patch) | |
| tree | 4fd0412732046d526e44476ea22eab343c36673c /CMake/options.cmake | |
| parent | da31ff4569a252e314ab91b3ea9cc11aafec2a24 (diff) | |
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
Diffstat (limited to 'CMake/options.cmake')
| -rw-r--r-- | CMake/options.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index fcdfe265f..e93ba5bee 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -149,6 +149,13 @@ else() 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) if(HAVE_GL) |
