summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnuj Verma <anujv@iitbhilai.ac.in>2020-08-20 08:28:14 +0530
committerAnuj Verma <anujv@iitbhilai.ac.in>2020-08-20 08:28:14 +0530
commit1df094bd7ab231c2302d4410a6be5aa7c59c1f1d (patch)
tree30294133bf3eb3dd4cebfa9b750f37e58ab7af72
parentd5397730b4de2663e0fb22f2a584cadd890d01ef (diff)
downloadfreetype2-1df094bd7ab231c2302d4410a6be5aa7c59c1f1d.tar.gz
[sdf] Added `sdf' module to non gnumake build systems.
* include/freetype/config/ftmodule.h (*): Add both the renderers to the list of modules. This allows build systems other than GNU Make to use the renderers. * CMakeLists.txt (BASE_SRCS): Add the `sdf' module single object to the list of source files.
-rw-r--r--CMakeLists.txt1
-rw-r--r--include/freetype/config/ftmodule.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9befb421..e10895b0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -353,6 +353,7 @@ set(BASE_SRCS
src/type1/type1.c
src/type42/type42.c
src/winfonts/winfnt.c
+ src/sdf/sdf.c
)
if (UNIX)
diff --git a/include/freetype/config/ftmodule.h b/include/freetype/config/ftmodule.h
index b5c4b1ee5..2b4600940 100644
--- a/include/freetype/config/ftmodule.h
+++ b/include/freetype/config/ftmodule.h
@@ -26,5 +26,7 @@ FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
+FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class )
+FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class )
/* EOF */