From 71043aba39b373dfe0ae5eb9287f92addf2401a9 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 11 Jun 2018 11:34:52 -0500 Subject: [PATCH] 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 --- src/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index c766f2e30..0a978a6f5 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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(