meson: Add idep_getopt for tests

There are quite a few tests that require getopt, when using MSVC we need
to use the bundled version of getopt since there isn't a system version.

Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
Dylan Baker
2018-05-22 14:57:14 -07:00
parent 8eee724b73
commit 00fca07c3b
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ libglcpp = static_library(
glcpp = executable(
'glcpp',
'glcpp.c',
dependencies : [dep_m],
dependencies : [dep_m, idep_getopt],
include_directories : [inc_common],
link_with : [libglcpp, libglsl_util],
c_args : [c_vis_args, no_override_init_args, c_msvc_compat_args],