blob: eaa48cc6aae64b8a0da925a00991c441906e5e14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
-- Checking for module 'hidapi-hidraw'
-- Package 'hidapi-hidraw' not found
CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
The following required packages were not found:
- hidapi-hidraw
--- 3rdparty/hidapi/CMakeLists.txt.orig 2025-09-30 21:49:18 UTC
+++ 3rdparty/hidapi/CMakeLists.txt
@@ -1,10 +1,10 @@ if(USE_SYSTEM_HIDAPI)
# hidapi
if(USE_SYSTEM_HIDAPI)
message(STATUS "RPCS3: using shared hidapi")
- pkg_check_modules(hidapi-hidraw REQUIRED IMPORTED_TARGET hidapi-hidraw)
+ pkg_check_modules(hidapi REQUIRED IMPORTED_TARGET hidapi)
add_library(3rdparty_hidapi INTERFACE)
- target_link_libraries(3rdparty_hidapi INTERFACE PkgConfig::hidapi-hidraw)
- target_include_directories(3rdparty_hidapi INTERFACE PkgConfig::hidapi-hidraw)
+ target_link_libraries(3rdparty_hidapi INTERFACE PkgConfig::hidapi)
+ target_include_directories(3rdparty_hidapi INTERFACE PkgConfig::hidapi)
else()
set(BUILD_SHARED_LIBS FALSE CACHE BOOL "Don't build shared libs")
set(HIDAPI_INSTALL_TARGETS FALSE CACHE BOOL "Don't install anything")
|