summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-05-22 14:57:14 -0700
committerDylan Baker <[email protected]>2019-10-10 16:33:04 -0700
commit00fca07c3b09ead62b189fd02718ae2ddc825bfd (patch)
tree23c722e5a3ffaa373edbafc291e06713d0958b84 /src/compiler/glsl/glcpp
parent8eee724b7352d066a8ce6f5401ca7ac8c6f778a8 (diff)
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 <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp')
-rw-r--r--src/compiler/glsl/glcpp/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glcpp/meson.build b/src/compiler/glsl/glcpp/meson.build
index 90046477108..28c836381e4 100644
--- a/src/compiler/glsl/glcpp/meson.build
+++ b/src/compiler/glsl/glcpp/meson.build
@@ -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],