meson: make lz4 'required' when system version is in use
This commit is contained in:
parent
3b80c24dca
commit
6d4ece5faf
|
@ -1,4 +1,4 @@
|
|||
if (get_option('embedded-lz4'))
|
||||
if get_option('embedded-lz4')
|
||||
lz4_src = [
|
||||
'lz4.c',
|
||||
'lz4hc.c',
|
||||
|
@ -15,5 +15,5 @@ if (get_option('embedded-lz4'))
|
|||
link_with: lz4_lib
|
||||
)
|
||||
else
|
||||
lz4 = dependency('liblz4')
|
||||
lz4 = dependency('liblz4', required: true)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue