diff options
-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) |