mesa: don't build st_format_test on Windows

this is the easiest way to make it build with the glapi changes

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33634>
This commit is contained in:
Marek Olšák 2025-02-21 19:31:13 -05:00 committed by Marge Bot
parent dd1ca1588d
commit a22e50e6fe

View file

@ -1,16 +1,16 @@
# Copyright © 2018 Intel Corporation
# SPDX-License-Identifier: MIT
test(
'st_format_test',
executable(
if not with_platform_windows
test(
'st_format_test',
['st_format.c'],
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [
libmesa, shared_glapi_lib, libgallium,
],
dependencies : [idep_gtest, idep_mesautil],
),
suite : ['st_mesa'],
)
executable(
'st_format_test',
['st_format.c'],
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libmesa, shared_glapi_lib, libgallium],
dependencies : [idep_gtest, idep_mesautil],
),
suite : ['st_mesa'],
)
endif