summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-25 21:15:42 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-26 11:30:51 -0400
commitbf946ad591777469d88f4cbd72d2109818ed5033 (patch)
treeba496b520b08be1ef6aeef3da09b1f40aea73a58 /gnu/packages
parent219922a6944235d30ed40860e860a43a74795be3 (diff)
gnu: imgui: Enable freetype support.
* gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE to make flags. [inputs]: Add freetype.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/toolkits.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 46b7fd2cd6..712c225a94 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -62,6 +62,7 @@
;; it would fail with the "Too many vertices in ImDrawList using 16-bit
;; indices".
#~(list "-DImDrawIdx=unsigned int"
+ "-DIMGUI_ENABLE_FREETYPE"
"-I" (string-append (getcwd) "/source")
"-I" (search-input-directory %build-inputs "include/freetype2")
"-g" "-O2" "-fPIC" "-shared"
@@ -122,7 +123,7 @@
(copy-recursively "examples"
(string-append #$output:doc
"/share/imgui/examples"))))))))
- (inputs (list fontconfig glfw mesa sdl2))
+ (inputs (list fontconfig freetype glfw mesa sdl2))
(home-page "https://github.com/ocornut/imgui")
(synopsis "Immediate-mode C++ GUI library with minimal dependencies")
(description "@code{dear imgui} (also know as ImGui) is a graphical user