Commit 3eb64fa
Fix CMake build failure on Linux due to hidapi cmake_minimum_required < 3.5
- Set CMAKE_POLICY_VERSION_MINIMUM=3.5 before FetchContent_MakeAvailable(hidapi)
to suppress CMake 3.31+ error for sub-projects using cmake_minimum_required < 3.5
- Update hidapi from 0.14.0 to 0.15.0 (latest stable release)
- Add libudev-dev and libusb-1.0-0-dev to CI Linux dependencies for hidapi backends
Co-authored-by: CommanderPho <962210+CommanderPho@users.noreply.github.com>1 parent 496421c commit 3eb64fa
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
0 commit comments