diff options
| author | Craig Carnell <1188869+cscd98@users.noreply.github.com> | 2025-09-26 21:34:43 +0100 |
|---|---|---|
| committer | Craig Carnell <1188869+cscd98@users.noreply.github.com> | 2025-09-26 21:34:43 +0100 |
| commit | fc1c060bb40c52eb0f5a1e4ff2775d25fa4e7ce0 (patch) | |
| tree | 5ff4d79a3d6cef452793ecd8b7358172c2423942 | |
| parent | 7ab91ff0551d8a5c798ac259d5dc2aa3857e95e4 (diff) | |
Use hidapi-src/windows on MINGW as well as MSVC
| -rw-r--r-- | Externals/hidapi/CMakeLists.txt | 2 |
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) |
