Skip to content

Commit b7af724

Browse files
authored
Merge pull request #134 from sysprog21/fix-tooledit
Add Cairo dependency detection for TOOL_FONTEDIT
2 parents 8a03ba4 + 9a19bc5 commit b7af724

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

configs/Kconfig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ config HAVE_LIBPNG
1717
config HAVE_LIBJPEG
1818
def_bool $(shell,pkg-config --exists libjpeg && echo y || echo n)
1919

20+
config HAVE_CAIRO
21+
def_bool $(shell,pkg-config --exists cairo && echo y || echo n)
22+
2023
choice
2124
prompt "Backend Selection"
2225
default BACKEND_SDL
@@ -281,9 +284,9 @@ config TOOLS
281284
config TOOL_FONTEDIT
282285
bool "Build scalable font editor"
283286
default y
284-
depends on TOOLS && HAVE_SDL2
287+
depends on TOOLS && HAVE_SDL2 && HAVE_CAIRO
285288
help
286-
Interactive font editor for Twin font format.
289+
Interactive font editor for Mado font format.
287290
Allows creation and modification of scalable fonts.
288291

289292
config PERF_TEST

0 commit comments

Comments
 (0)