projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meson: build getopt when using msvc
[mesa.git]
/
src
/
meson.build
diff --git
a/src/meson.build
b/src/meson.build
index d86c0ec21a6184ab4f71e06208982efe60e0d0d9..71ff82af38f8c9dabd273317ada2c8ad0ad48b1a 100644
(file)
--- a/
src/meson.build
+++ b/
src/meson.build
@@
-47,6
+47,11
@@
sha1_h = custom_target(
)
subdir('gtest')
+if cc.get_id() == 'msvc'
+ subdir('getopt')
+else
+ idep_getopt = null_dep
+endif
subdir('util')
subdir('mapi')
# TODO: opengl