panfrost: add missing dependency on midgard_pack.h
Fixes build failing when libpanfrost is built before midgard_pack. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6093>
This commit is contained in:
committed by
Marge Bot
parent
8557b1a8eb
commit
a322924d9c
@@ -64,7 +64,8 @@ libpanfrost = static_library(
|
||||
dependencies: [
|
||||
dep_thread,
|
||||
dep_libdrm,
|
||||
idep_nir
|
||||
idep_nir,
|
||||
idep_midgard_pack
|
||||
],
|
||||
include_directories : panfrost_includes,
|
||||
c_args : [c_msvc_compat_args, compile_args_panfrost],
|
||||
|
||||
@@ -50,6 +50,11 @@ midgard_pack = custom_target(
|
||||
capture : true,
|
||||
)
|
||||
|
||||
idep_midgard_pack = declare_dependency(
|
||||
sources : [midgard_pack],
|
||||
include_directories : include_directories('.'),
|
||||
)
|
||||
|
||||
libpanfrost_lib = static_library(
|
||||
'panfrost_lib',
|
||||
[libpanfrost_lib_files, midgard_pack],
|
||||
|
||||
Reference in New Issue
Block a user