diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-02-18 15:45:28 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-02-19 15:01:46 +0200 |
commit | 2d66f364d97984ea23faf01410d90010d414c141 (patch) | |
tree | cbac42340861473183adf5356fc90c49b2dd8fa2 /modules/text_server_fb/dynamic_font_fb.h | |
parent | b4aba4796991b0aed0eff3d54ae9e2e47866822f (diff) |
Make FreeType optional for export templates.
Diffstat (limited to 'modules/text_server_fb/dynamic_font_fb.h')
-rw-r--r-- | modules/text_server_fb/dynamic_font_fb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/text_server_fb/dynamic_font_fb.h b/modules/text_server_fb/dynamic_font_fb.h index 81b18f6af3..eb70f46666 100644 --- a/modules/text_server_fb/dynamic_font_fb.h +++ b/modules/text_server_fb/dynamic_font_fb.h @@ -33,6 +33,10 @@ #include "font_fb.h" +#include "modules/modules_enabled.gen.h" + +#ifdef MODULE_FREETYPE_ENABLED + #include <ft2build.h> #include FT_FREETYPE_H @@ -163,4 +167,6 @@ public: virtual ~DynamicFontDataFallback() override; }; +#endif // MODULE_FREETYPE_ENABLED + #endif // DYNAMIC_FONT_FALLBACK_H |