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(