nir/meson: fix c vs cpp args for nir test
authorDylan Baker <dylan@pnwbakers.com>
Tue, 22 May 2018 22:34:38 +0000 (15:34 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 1 Aug 2018 19:51:22 +0000 (12:51 -0700)
Fixes: d1992255bb29054fa51763376d125183a9f602f3
       ("meson: Add build Intel "anv" vulkan driver")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/compiler/nir/meson.build

index a1bb19356ce5004c4ad0c339a7b350f40a2aa466..010da386ce3134969c7b2e4f47cdf32ad884eea7 100644 (file)
@@ -237,7 +237,7 @@ if with_tests
     executable(
       'nir_control_flow_test',
       files('tests/control_flow_tests.cpp'),
-      c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
+      cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
       include_directories : [inc_common],
       dependencies : [dep_thread, idep_gtest, idep_nir],
       link_with : libmesa_util,