qb: Allow --enable-metal for osx only.

This commit is contained in:
orbea 2019-07-21 00:18:41 -07:00
parent cd90760b7b
commit ba1ed7aa13

View File

@ -210,6 +210,8 @@ fi
check_platform Linux TINYALSA 'Tinyalsa is' true
check_platform Linux RPILED 'The RPI led driver is' true
check_platform Darwin METAL 'Metal is' true
if [ "$OS" = 'Darwin' ]; then
check_lib '' COREAUDIO "-framework AudioUnit" AudioUnitInitialize
check_lib '' CORETEXT "-framework CoreText" CTFontCreateWithName