Module: Mesa
Branch: main
Commit: 8043e8c4a66673675b2e1018f214e471942c717d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8043e8c4a66673675b2e1018f214e471942c717d

Author: Eric Engestrom <[email protected]>
Date:   Fri Dec 15 18:21:49 2023 +0000

vulkan/wsi: fix build when platform headers are installed in non-standard 
locations

Anything that uses the platform defines in `vulkan_wsi_list` will need
to be able to resole the includes they trigger, which are provided by
`vulkan_wsi_deps`.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10304
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26715>

---

 src/vulkan/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vulkan/meson.build b/src/vulkan/meson.build
index 4202d700663..a94ed1af38c 100644
--- a/src/vulkan/meson.build
+++ b/src/vulkan/meson.build
@@ -92,6 +92,7 @@ endif
 
 idep_vulkan_wsi_defines = declare_dependency(
   compile_args : vulkan_wsi_list,
+  dependencies : vulkan_wsi_deps,
 )
 vulkan_wsi_deps += idep_vulkan_wsi_defines
 

Reply via email to