diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 23:12:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 23:12:22 +0200 |
commit | 3e1ee69ad3a89764cda72e884165b75dd1df6b09 (patch) | |
tree | 7a02a9f49a7762481c196dda46e6d0594573767e | |
parent | 6ce3f6f4be40aba73096fb8ef2d160983905b6da (diff) |
video/ps3eye: fix pkg-config
-rw-r--r-- | video-ps3eye/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/video-ps3eye/CMakeLists.txt b/video-ps3eye/CMakeLists.txt index 50aba75e..fadae856 100644 --- a/video-ps3eye/CMakeLists.txt +++ b/video-ps3eye/CMakeLists.txt @@ -4,7 +4,7 @@ if(WIN32) else() include(FindPkgConfig) if(PKG_CONFIG_FOUND) - pkg_check_modules(lusb "libusb" QUIET) + pkg_check_modules(libusb "libusb-1.0" QUIET) endif() endif() @@ -22,13 +22,13 @@ if(WIN32) endif() endif() endif() - elseif(lusb_FOUND) + elseif(libusb_FOUND) set(found TRUE) - add_definitions(${lusb_CFLAGS}) - link_directories(${lusb_LIBRARY_DIRS}) - include_directories(${lusb_INCLUDE_DIRS}) - add_link_options(${lusb_LDFLAGS}) - link_libraries(${lusb_LIBRARIES}) + add_definitions(${libusb_CFLAGS}) + link_directories(${libusb_LIBRARY_DIRS}) + include_directories(${libusb_INCLUDE_DIRS}) + add_link_options(${libusb_LDFLAGS}) + link_libraries(${libusb_LIBRARIES}) endif() if(found) |