summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-06-27 09:56:00 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-06-27 09:56:00 +0200
commit26e6c3f930a052a1e729d160b0e8e5b6042b5018 (patch)
treea8d9ced3f2c8eac6414394a9b2930a1757a1ee50 /CMake
parent93f19c3a2457f1c87f3c0781481f0bcc1602a514 (diff)
Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 559b68683..701280806 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -179,11 +179,11 @@ else ()
endif (PKG_CAIRO_FOUND)
#######################################################################
-option(OPTION_USE_NANOSVG "support SVG images" ON)
+option(OPTION_USE_SVG "read/write SVG files" ON)
-if(OPTION_USE_NANOSVG)
- set(FLTK_USE_NANOSVG 1)
-endif(OPTION_USE_NANOSVG)
+if(OPTION_USE_SVG)
+ set(FLTK_USE_SVG 1)
+endif(OPTION_USE_SVG)
#######################################################################
set(HAVE_GL LIB_GL OR LIB_MesaGL)