mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
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:
parent
2975a7f453
commit
a40913b3e0
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue