disable U2F when package is missing
authorKonrad Rosenbaum <konrad@silmor.de>
Sat, 26 Nov 2016 21:16:05 +0000 (22:16 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sat, 26 Nov 2016 21:16:05 +0000 (22:16 +0100)
Change-Id: Iadffb4f2b909dbab1b758f76aacd78bae5e632c7

plugins/plugins.pro

index c7f19dc..8233a7c 100644 (file)
@@ -1,2 +1,6 @@
 TEMPLATE = subdirs
-SUBDIRS = bcs-usb fido-u2f
+SUBDIRS = bcs-usb
+
+packagesExist(u2f-host) {
+       SUBDIRS += fido-u2f
+}