mirror of https://github.com/dolphin-emu/dolphin
Use hidapi-src/windows on MINGW as well as MSVC
This commit is contained in:
parent
7ab91ff055
commit
fc1c060bb4
|
|
@ -6,7 +6,7 @@ target_include_directories(hidapi PUBLIC hidapi-src/hidapi)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
target_sources(hidapi PRIVATE hidapi-src/mac/hid.c)
|
target_sources(hidapi PRIVATE hidapi-src/mac/hid.c)
|
||||||
elseif(MSVC)
|
elseif(WIN32)
|
||||||
target_sources(hidapi PRIVATE hidapi-src/windows/hid.c)
|
target_sources(hidapi PRIVATE hidapi-src/windows/hid.c)
|
||||||
else()
|
else()
|
||||||
find_package(LIBUDEV)
|
find_package(LIBUDEV)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue