From 140d7e8b3a37264898c75f4c49b5dad47824e98b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 25 Sep 2019 00:35:49 +0100 Subject: [PATCH] meson: use idep_nir instead of libnir in libclnir Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- src/gallium/state_trackers/clover/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/meson.build b/src/gallium/state_trackers/clover/meson.build index 6704f8567bb..8bc29cf6970 100644 --- a/src/gallium/state_trackers/clover/meson.build +++ b/src/gallium/state_trackers/clover/meson.build @@ -77,10 +77,10 @@ libclspirv = static_library( libclnir = static_library( 'clnir', - [files('nir/invocation.cpp', 'nir/invocation.hpp'), nir_opcodes_h], + files('nir/invocation.cpp', 'nir/invocation.hpp'), include_directories : [clover_incs, inc_mesa], + dependencies : idep_nir, cpp_args : [clover_spirv_cpp_args, cpp_vis_args], - link_with : [libnir], override_options : clover_cpp_std, ) -- 2.30.2