meson/windows: only build libgl-gdi for desktop gl

Suggested-by: Jesse Natalie <jenatali@microsoft.com>
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21343>
This commit is contained in:
Eric Engestrom 2023-02-17 21:08:25 +00:00 committed by Marge Bot
parent 8955340839
commit da25d0b8e4

View file

@ -236,7 +236,9 @@ if with_platform_windows
winsys_d3d12_wgl = declare_dependency()
endif
subdir('targets/wgl')
subdir('targets/libgl-gdi')
if with_opengl
subdir('targets/libgl-gdi')
endif
endif
if with_tests
subdir('tests')