vulkan/wsi: Allow platform code to define extra dependencies
Needed for the windows platform if we want to hook up DXGI swapchains. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16200>
This commit is contained in:

committed by
Marge Bot

parent
2975a7f453
commit
a40913b3e0
@@ -19,6 +19,7 @@
|
||||
# SOFTWARE.
|
||||
|
||||
files_vulkan_wsi = files('wsi_common.c')
|
||||
platform_deps = []
|
||||
|
||||
if dep_libdrm.found()
|
||||
files_vulkan_wsi += files('wsi_common_drm.c')
|
||||
@@ -61,7 +62,7 @@ libvulkan_wsi = static_library(
|
||||
include_directories : [inc_include, inc_src, inc_gallium],
|
||||
dependencies : [
|
||||
vulkan_wsi_deps, dep_libdrm, dep_libudev, idep_vulkan_util_headers,
|
||||
idep_vulkan_runtime_headers, idep_xmlconfig,
|
||||
idep_vulkan_runtime_headers, idep_xmlconfig, platform_deps
|
||||
],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
build_by_default : false,
|
||||
|
Reference in New Issue
Block a user