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:
Mario Limonciello 2018-06-11 11:34:52 -05:00 committed by Mario Limonciello
parent cf63aecdaf
commit 71043aba39

View File

@ -19,7 +19,9 @@ endif
if get_option('pkcs7')
keyring_src += 'fu-keyring-pkcs7.c'
keyring_deps += gnutls
test_deps += colorhug_pkcs7_signature
if get_option('tests')
test_deps += colorhug_pkcs7_signature
endif
endif
libfwupdprivate = static_library(