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 fea4cee3d9
commit c169049064
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ 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
#