summaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index d86c0ec21a6..71ff82af38f 100644
--- 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