Browse Source

Add extra check for libusb-1.0

Signed-off-by: Matías Fonzo <selk@dragora.org>
feat/pkg-config
Matías Fonzo 2 years ago
parent
commit
2ce6a557cd
No known key found for this signature in database
GPG Key ID: 3AAF1CEC203A99D5
  1. 2
      kcontrol/ConfigureChecks.cmake

2
kcontrol/ConfigureChecks.cmake

@ -48,7 +48,7 @@ endif( )
##### check for libusb ##########################
if( WITH_LIBUSB OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
pkg_search_module( LIBUSB libusb libusb-2.0 )
pkg_search_module( LIBUSB libusb libusb-2.0 libusb-1.0 )
if( LIBUSB_FOUND )
set( HAVE_LIBUSB 1 CACHE INTERNAL "" FORCE )
else( )

Loading…
Cancel
Save