Skip to content

Commit

Permalink
Show a build error for -Dvapi=true -Dintrospection=false
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsie committed Nov 22, 2023
1 parent 0b8e00d commit e79cd09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ gusb_deps = [
libjsonglib,
]

if not get_option('introspection') and get_option('vapi')
error('-Dvapi=true requires -Dintrospection=true')
endif

gnome = import('gnome')

add_project_arguments('-DGUSB_COMPILATION', language: 'c')
Expand Down

0 comments on commit e79cd09

Please sign in to comment.