summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-09-26 21:34:43 +0100
committerCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-09-26 21:34:43 +0100
commitfc1c060bb40c52eb0f5a1e4ff2775d25fa4e7ce0 (patch)
tree5ff4d79a3d6cef452793ecd8b7358172c2423942
parent7ab91ff0551d8a5c798ac259d5dc2aa3857e95e4 (diff)
Use hidapi-src/windows on MINGW as well as MSVC
-rw-r--r--Externals/hidapi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Externals/hidapi/CMakeLists.txt b/Externals/hidapi/CMakeLists.txt
index 210643caf0..df41e10c6d 100644
--- a/Externals/hidapi/CMakeLists.txt
+++ b/Externals/hidapi/CMakeLists.txt
@@ -6,7 +6,7 @@ target_include_directories(hidapi PUBLIC hidapi-src/hidapi)
if(APPLE)
target_sources(hidapi PRIVATE hidapi-src/mac/hid.c)
-elseif(MSVC)
+elseif(WIN32)
target_sources(hidapi PRIVATE hidapi-src/windows/hid.c)
else()
find_package(LIBUDEV)