Skip to content

Commit

Permalink
fix(meson): building with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Aug 3, 2023
1 parent 05b401e commit 0bd94a6
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 @@ -9,6 +9,10 @@ project(
],
)

if meson.get_compiler ('c').get_id () == 'clang'
add_project_arguments('-Wno-incompatible-function-pointer-types', language : 'c')
endif

devel = get_option('devel')
distro = get_option('distro')

Expand Down

0 comments on commit 0bd94a6

Please sign in to comment.