Skip to content

Commit 9a5ae76

Browse files
committed
ISSUE#22. Install fonts only for application target
1 parent 8cddefd commit 9a5ae76

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

meson.build

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,17 @@ if jack_dep.found()
255255
add_project_arguments('-DJACK', language: 'c')
256256
endif
257257

258+
### Define target
259+
is_exe = false
260+
foreach p : get_option('build_target')
261+
if not is_exe and p != 'lib'
262+
is_exe = true
263+
endif
264+
endforeach
265+
258266
### Cava font
259267
have_font = false
260-
if get_option('cava_font')
268+
if get_option('cava_font') and is_exe
261269
if is_freebsd
262270
vtfontcvt_prog = find_program('vtfontcvt', native: true)
263271
psf2bdf_prog = find_program('psf2bdf', native: true)

0 commit comments

Comments
 (0)