meson: use idep_nir instead of libnir in libclnir
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 24 Sep 2019 23:35:49 +0000 (00:35 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 7 Oct 2019 20:49:40 +0000 (21:49 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/state_trackers/clover/meson.build

index 6704f8567bb9d888111823e4a1298981b30ea7fc..8bc29cf6970fbef238784a047e3c8c9d4d07fc9a 100644 (file)
@@ -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,
 )