build: add explicit check for charconv

Some older Apple compilers don't have it; error out early.

Fixes #2347.
This commit is contained in:
Dirk-Jan C. Binnema 2022-10-15 10:45:15 +03:00
parent 84cfe205f1
commit 669ad7720e
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ foreach extra_arg : extra_flags
endif
endforeach
# some clang don't have charconv, but we need it.
# https://github.com/djcb/mu/issues/2347
cxx.check_header('charconv', required:true)
################################################################################
# config.h setup