|
@@ -821,7 +821,6 @@ version_res = []
|
|
|
coref = []
|
|
|
iokit = []
|
|
|
pvg = not_found
|
|
|
-metal = []
|
|
|
emulator_link_args = []
|
|
|
midl = not_found
|
|
|
widl = not_found
|
|
@@ -843,8 +842,8 @@ elif host_os == 'darwin'
|
|
|
coref = dependency('appleframeworks', modules: 'CoreFoundation')
|
|
|
iokit = dependency('appleframeworks', modules: 'IOKit', required: false)
|
|
|
host_dsosuf = '.dylib'
|
|
|
- pvg = dependency('appleframeworks', modules: 'ParavirtualizedGraphics')
|
|
|
- metal = dependency('appleframeworks', modules: 'Metal')
|
|
|
+ pvg = dependency('appleframeworks', modules: ['ParavirtualizedGraphics', 'Metal'],
|
|
|
+ required: get_option('pvg'))
|
|
|
elif host_os == 'sunos'
|
|
|
socket = [cc.find_library('socket'),
|
|
|
cc.find_library('nsl'),
|
|
@@ -4846,6 +4845,9 @@ summary_info += {'libdw': libdw}
|
|
|
if host_os == 'freebsd'
|
|
|
summary_info += {'libinotify-kqueue': inotify}
|
|
|
endif
|
|
|
+if host_os == 'darwin'
|
|
|
+ summary_info += {'ParavirtualizedGraphics support': pvg}
|
|
|
+endif
|
|
|
summary(summary_info, bool_yn: true, section: 'Dependencies')
|
|
|
|
|
|
if host_arch == 'unknown'
|