mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #5318 from ligfx/cmakehidapi
CMake: clean up HIDAPI build
This commit is contained in:
@ -343,8 +343,10 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(HIDAPI_FOUND)
|
||||
if(TARGET Hidapi::Hidapi)
|
||||
set(SRCS ${SRCS} HW/WiimoteReal/IOhidapi.cpp)
|
||||
list(APPEND LIBS Hidapi::Hidapi)
|
||||
add_definitions(-DHAVE_HIDAPI=1)
|
||||
endif()
|
||||
|
||||
if(PORTAUDIO_FOUND)
|
||||
|
Reference in New Issue
Block a user