diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-10 10:35:57 +0100 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-13 07:27:08 +0000 |
commit | ded2627d56addc72a6fd786206066c4ebfd04d08 (patch) | |
tree | f683a62ae29a1b856bdce91659a6768c936d402e | |
parent | 1d1700f492dbb548e41ac1be5b24ca6ac15ca962 (diff) | |
download | mesa-demos-ded2627d56addc72a6fd786206066c4ebfd04d08.tar.gz |
meson: avoid building unix-source on windows
This was already done for CMake in af9e1d12 ("cmake: texleak requires
unix."), and we should have added a similar condition in the Meson build
system as well, but we somehow missed it. Add that condition back.
Fixes: 4973b62b ("add a meson build system")
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
-rw-r--r-- | src/tests/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/meson.build b/src/tests/meson.build index 71c75fe4..f93f390a 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -115,7 +115,6 @@ glut_progs = [ 'texdown', 'texfilt', 'texgenmix', - 'texleak', 'texline', 'texobj', 'texrect', @@ -135,6 +134,11 @@ glut_progs = [ 'zdrawpix', 'zreaddraw', ] + +if host_machine.system() != 'windows' + glut_progs += 'texleak' +endif + foreach p : glut_progs executable( p, files(p + '.c'), |