Fabian Homborg 9b763581cf cmake: Only check mbrtowc on Apple
The only thing we know ever triggered this is old macOS versions,
there's no need to use it for everyone else.

Since this uses try_run it breaks when cross-compiling, which
shouldn't be a common thing on macOS.

Fixes #7737
2021-02-22 20:17:17 +01:00
..
2020-03-14 16:11:35 -07:00
2020-06-06 18:56:54 -07:00
2020-05-30 10:07:21 +02:00