mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Only build launchpad surfaces if libUSB is available
This commit is contained in:
parent
90755045f5
commit
c8f17ee0a5
1 changed files with 4 additions and 4 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue