From fc1c060bb40c52eb0f5a1e4ff2775d25fa4e7ce0 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Fri, 26 Sep 2025 21:34:43 +0100 Subject: [PATCH] Use hidapi-src/windows on MINGW as well as MSVC --- Externals/hidapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)