Skip to content

Commit

Permalink
utils: build test-utils when tests are not disabled
Browse files Browse the repository at this point in the history
Fixes #2685
  • Loading branch information
djcb committed Apr 8, 2024
1 parent 5186264 commit 4a03a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ srcs = [
'mu-utils.cc',
]

if get_option('tests').enabled()
if not get_option('tests').disabled()
test_srcs = [ 'mu-test-utils.cc' ]
else
test_srcs = []
Expand Down

0 comments on commit 4a03a30

Please sign in to comment.