From c8f17ee0a55fd7546671d4759f9bbe672acd402c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 15 Jan 2025 16:00:05 +0100 Subject: [PATCH] Only build launchpad surfaces if libUSB is available --- libs/surfaces/wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/surfaces/wscript b/libs/surfaces/wscript index dc759484b7..36a2c755b1 100644 --- a/libs/surfaces/wscript +++ b/libs/surfaces/wscript @@ -20,10 +20,7 @@ children = [ 'us2400', 'launch_control_xl', 'osc', - 'console1', - 'launchpad_pro', - 'launchpad_x', - 'launchkey_4' + 'console1' ] def options(opt): @@ -37,6 +34,9 @@ def configure(conf): if conf.is_defined('HAVE_USB'): children += [ 'push2' ] children += [ 'contourdesign' ] + children += [ 'launchpad_pro' ] + children += [ 'launchpad_x' ] + children += [ 'launchpad_4' ] else: print ('You are missing the libusb-1.0 development package needed to compile Push2 and ContourDesign support')