meson: Don't build svgadrm on windows
Building svgadrm module on window platform is not required. Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7806>
This commit is contained in:
parent
8955980f17
commit
81702c0ba6
|
@ -90,7 +90,12 @@ libsvga = static_library(
|
|||
dependencies : idep_mesautil,
|
||||
)
|
||||
|
||||
svga_deps = [libsvga]
|
||||
if not with_platform_windows
|
||||
svga_deps += libsvgadrm
|
||||
endif
|
||||
|
||||
driver_svga = declare_dependency(
|
||||
compile_args : '-DGALLIUM_VMWGFX',
|
||||
link_with : [libsvga, libsvgadrm],
|
||||
link_with : svga_deps,
|
||||
)
|
||||
|
|
|
@ -137,7 +137,9 @@ else
|
|||
driver_i915 = declare_dependency()
|
||||
endif
|
||||
if with_gallium_svga
|
||||
subdir('winsys/svga/drm')
|
||||
if not with_platform_windows
|
||||
subdir('winsys/svga/drm')
|
||||
endif
|
||||
subdir('drivers/svga')
|
||||
else
|
||||
driver_svga = declare_dependency()
|
||||
|
|
Loading…
Reference in New Issue