Module: Mesa Branch: main Commit: 83624659c5e5b6aef00b0952f9c07a80e1653fb2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=83624659c5e5b6aef00b0952f9c07a80e1653fb2
Author: Sil Vilerino <[email protected]> Date: Mon Dec 11 15:52:39 2023 -0500 meson: Only build WGL for Windows platform when opengl option is active Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26638> --- src/gallium/meson.build | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gallium/meson.build b/src/gallium/meson.build index e51d5802760..42b93365d1f 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -242,14 +242,14 @@ if with_gallium_st_d3d10umd subdir('targets/d3d10sw') endif if with_platform_windows - subdir('frontends/wgl') - if with_gallium_d3d12 - subdir('winsys/d3d12/wgl') - else - winsys_d3d12_wgl = declare_dependency() - endif - subdir('targets/wgl') if with_opengl + subdir('frontends/wgl') + if with_gallium_d3d12 + subdir('winsys/d3d12/wgl') + else + winsys_d3d12_wgl = declare_dependency() + endif + subdir('targets/wgl') subdir('targets/libgl-gdi') endif endif
