Skip to content

Commit 8b6877d

Browse files
committed
better fallback messages
1 parent 478cb07 commit 8b6877d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎meson.build‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ if sleef_dep.found() and sleef_dep.type_name() != 'internal' and sleef_dep.versi
5959
fallback_reason = 'System-wide SLEEF installation found but a test for quad precision support failed.'
6060
endif
6161
else
62-
fallback_reason = 'System-wide SLEEF installation does not have a sleefquad library.'
62+
if not sleefquad_lib.found() and not tlfloat_lib.found()
63+
fallback_reason = 'System-wide SLEEF installation does not have sleefquad and tlfloat libraries.'
64+
elif not sleefquad_lib.found()
65+
fallback_reason = 'System-wide SLEEF installation does not have the sleefquad library.'
66+
else
67+
fallback_reason = 'System-wide SLEEF installation does not have the tlfloat library.'
68+
endif
6369
endif
6470
else
6571
if sleef_dep.found() and sleef_dep.type_name() != 'internal'

0 commit comments

Comments
 (0)