diff options
Diffstat (limited to 'emulators/rpcs3/files/patch-hidapi')
-rw-r--r-- | emulators/rpcs3/files/patch-hidapi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/rpcs3/files/patch-hidapi b/emulators/rpcs3/files/patch-hidapi new file mode 100644 index 000000000000..eaa48cc6aae6 --- /dev/null +++ b/emulators/rpcs3/files/patch-hidapi @@ -0,0 +1,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") |