summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2020-01-27 22:52:54 -0300
committerMatías Fonzo <selk@dragora.org>2020-01-27 22:52:54 -0300
commit2ce6a557cd2e8c158c949c7301245a31f2faf7c3 (patch)
tree4d7ebd1d789adfce33581b4187aeba49924a2095
parent67fe6d2e739013d92158f2339aaa928d50c02ef7 (diff)
downloadtdebase-feat/pkg-config.tar.gz
tdebase-feat/pkg-config.zip
Add extra check for libusb-1.0feat/pkg-config
Signed-off-by: Matías Fonzo <selk@dragora.org>
-rw-r--r--kcontrol/ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/ConfigureChecks.cmake b/kcontrol/ConfigureChecks.cmake
index 3f017390c..59ab14a61 100644
--- a/kcontrol/ConfigureChecks.cmake
+++ b/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( )