Skip to content

Commit

Permalink
TST: Don't unconditionally build c-interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Feb 3, 2024
1 parent af810b7 commit ba0592d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions check/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ foreach test : test_array
)
endforeach

test('test_capi',
executable('capi_unit_tests', 'TestCAPI.c',
include_directories: _incdirs,
link_with : _linkto ,
))
if get_option('with_c')
test('test_capi',
executable('capi_unit_tests', 'TestCAPI.c',
include_directories: _incdirs,
link_with : _linkto ,
))
endif

0 comments on commit ba0592d

Please sign in to comment.