summaryrefslogtreecommitdiff
path: root/src/cmake/FindLIBUSB.cmake
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2013-06-25 15:25:57 +0200
committerRALOVICH, Kristof <tade60@freemail.hu>2013-06-25 15:25:57 +0200
commit22f00c0f4ccf32d28b5b3828be4243c394b11d81 (patch)
tree8f325dd6926ec168dd5e8150fc0ccce1a91dfb4a /src/cmake/FindLIBUSB.cmake
parent690bca0df21c2c59fb2e2a8b2745e3d567bf71ba (diff)
pkgconfig should look for libusb-1.0
Diffstat (limited to 'src/cmake/FindLIBUSB.cmake')
-rw-r--r--src/cmake/FindLIBUSB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/FindLIBUSB.cmake b/src/cmake/FindLIBUSB.cmake
index e68322e..0c3c3a7 100644
--- a/src/cmake/FindLIBUSB.cmake
+++ b/src/cmake/FindLIBUSB.cmake
@@ -39,7 +39,7 @@ ELSE(MSVC)
# If not MS Visual Studio we use PkgConfig
FIND_PACKAGE (PkgConfig)
IF(PKG_CONFIG_FOUND)
- PKG_CHECK_MODULES(LIBUSB REQUIRED libusb)
+ PKG_CHECK_MODULES(LIBUSB REQUIRED libusb-1.0)
ELSE(PKG_CONFIG_FOUND)
MESSAGE(FATAL_ERROR "Could not find PkgConfig")
ENDIF(PKG_CONFIG_FOUND)