summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-18 18:15:06 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-18 19:36:16 +0100
commit1d43ae0b0a01fdd90486c616d5dddd318a8fb9f0 (patch)
tree05f98ee918f8faafc452e6a70068986d4db0e198 /src/CMakeLists.txt
parent81d47f71d64caaaed7013b3f494dbae33267e70d (diff)
Move nanosvg to a separate file, don't use 'roundf()' (#937)
Replacement of roundf() with nsvg__roundf() fixes one aspect of issue #937. Having the nanosvg implementation in its own module was planned anyway.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 00cd2d4b3..062078ef6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -507,6 +507,7 @@ set(IMGCPPFILES
Fl_PNM_Image.cxx
Fl_Image_Reader.cxx
Fl_SVG_Image.cxx
+ nanosvg.cxx
drivers/SVG/Fl_SVG_File_Surface.cxx
)