diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | libk8055/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a820b55..11ef350 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ if(NOT WIN32) FIND_PACKAGE(PkgConfig) endif() if(PKG_CONFIG_FOUND) - pkg_check_modules(LIBUSB libusb) + pkg_check_modules(LIBUSB libusb-1.0) else() MESSAGE(STATUS "Checking for module 'libusb'") endif() diff --git a/libk8055/main.c b/libk8055/main.c index 50e361c..a62050d 100644 --- a/libk8055/main.c +++ b/libk8055/main.c @@ -154,7 +154,7 @@ int main ( int argc,char* params[] ) { * and enable debug mode */ if ( debug ) - usb_set_debug( 2 ); + libusb_set_debug( 2 ); dev = k8055_alloc(); if(dev==NULL) { fprintf(stderr,"Could not allocate data for k8055_dev struct.\n"); |