[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.
This commit is contained in:
Anuj Verma 2020-08-20 08:28:14 +05:30
parent d5397730b4
commit 1df094bd7a
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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 */