mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-11 09:08:22 +00:00
trivial: Don't enable pkcs7 tests unless tests are enabled
Fixes: src/meson.build:22:2: ERROR: Unknown variable "colorhug_pkcs7_signature". with -Dpcs7=true, -Dtests=false
This commit is contained in:
parent
cf63aecdaf
commit
71043aba39
@ -19,8 +19,10 @@ endif
|
|||||||
if get_option('pkcs7')
|
if get_option('pkcs7')
|
||||||
keyring_src += 'fu-keyring-pkcs7.c'
|
keyring_src += 'fu-keyring-pkcs7.c'
|
||||||
keyring_deps += gnutls
|
keyring_deps += gnutls
|
||||||
|
if get_option('tests')
|
||||||
test_deps += colorhug_pkcs7_signature
|
test_deps += colorhug_pkcs7_signature
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
libfwupdprivate = static_library(
|
libfwupdprivate = static_library(
|
||||||
'fwupdprivate',
|
'fwupdprivate',
|
||||||
|
Loading…
Reference in New Issue
Block a user