Skip to content

Commit

Permalink
configure: fix metal detection and respect explicit disable
Browse files Browse the repository at this point in the history
Signed-off-by: Aman Karmani <[email protected]>
  • Loading branch information
tmm1 committed Dec 19, 2021
1 parent bbe9faa commit 11aa9ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,7 @@ EXTERNAL_AUTODETECT_LIBRARY_LIST="
libxcb_xfixes
lzma
mediafoundation
metal
schannel
sdl2
securetransport
Expand Down Expand Up @@ -6328,13 +6329,13 @@ enabled appkit && check_apple_framework AppKit
enabled audiotoolbox && check_apple_framework AudioToolbox
enabled avfoundation && check_apple_framework AVFoundation
enabled coreimage && check_apple_framework CoreImage
enabled metal && check_apple_framework Metal
enabled videotoolbox && check_apple_framework VideoToolbox

check_apple_framework CoreFoundation
check_apple_framework CoreMedia
check_apple_framework CoreVideo
check_apple_framework CoreAudio
check_apple_framework Metal

enabled avfoundation && {
disable coregraphics applicationservices
Expand Down

0 comments on commit 11aa9ca

Please sign in to comment.