build: enable Freetype support

This commit is contained in:
2026-04-25 13:42:14 +08:00
parent dc3926e47f
commit ada0603a2f
5 changed files with 884 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ set(IMGUI_SOURCES
imgui_widgets.cpp
imgui_impl_glfw.cpp
imgui_impl_opengl3.cpp
misc/freetype/imgui_freetype.cpp
)
add_library(imgui STATIC ${IMGUI_SOURCES})
@@ -20,4 +21,5 @@ target_link_libraries(
PUBLIC
glfw
OpenGL::GL
Freetype::Freetype
)