FreeType PlatformIO Teensy

Looking at the FreeType example, I have downloaded the FreeType folder as per the example text in the LVGL documentation. But there is some sort of config that should be placed in Make, I have not used Make much.

I’m using PlatformIO with a Teensy and LVGL. How can I make FreeType work?
I’ve enabled it in the LVGL config, so now I am missign the ft2build.h when I compile.

If I understand correctly, I need to place this somewhere.

# FreeType custom configuration header file
CFLAGS += -DFT_CONFIG_MODULES_H=<lvgl/src/libs/freetype/ftmodule.h>
CFLAGS += -DFT_CONFIG_OPTIONS_H=<lvgl/src/libs/freetype/ftoption.h>

# FreeType include path
CFLAGS += -Ifreetype/include

# FreeType C source file
FT_CSRCS += freetype/src/base/ftbase.c
FT_CSRCS += freetype/src/base/ftbitmap.c
FT_CSRCS += freetype/src/base/ftdebug.c
FT_CSRCS += freetype/src/base/ftglyph.c
FT_CSRCS += freetype/src/base/ftinit.c
FT_CSRCS += freetype/src/cache/ftcache.c
FT_CSRCS += freetype/src/gzip/ftgzip.c
FT_CSRCS += freetype/src/sfnt/sfnt.c
FT_CSRCS += freetype/src/smooth/smooth.c
FT_CSRCS += freetype/src/truetype/truetype.c