Skip to content

Commit

Permalink
Make vapigen and GObject introspection optional
Browse files Browse the repository at this point in the history
This is what was intended here.
  • Loading branch information
tintou committed Mar 21, 2024
1 parent d13a955 commit a4ce9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ subdir('data')
subdir('src')
subdir('po')

vapigen = find_program('vapigen', required: true)
g_ir_dep = dependency('gobject-introspection-1.0', required: true)
vapigen = find_program('vapigen', required: false)
g_ir_dep = dependency('gobject-introspection-1.0', required: false)
if vapigen.found() and g_ir_dep.found()
subdir('vapi')
endif

0 comments on commit a4ce9bd

Please sign in to comment.