utils: build test-utils when tests are not disabled

Fixes #2685
This commit is contained in:
Dirk-Jan C. Binnema 2024-04-08 18:29:57 +03:00
parent 5186264852
commit 4a03a30d04
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []