Disable HIDAPI via libusb

The hidraw path seems to be taken all the time and libusb integration seems to break
people on gentoo and nixos.
This commit is contained in:
Mary 2021-08-14 08:26:17 +02:00
parent c4512089e2
commit 986866b9ab

View file

@ -19,8 +19,8 @@ jobs:
- { name: win-x64, os: windows-latest, flags: -A x64 }
- { name: win-x86, os: windows-latest, flags: -A Win32 }
- { name: win-arm64, os: windows-latest, flags: -A ARM64 }
- { name: linux-x64, os: ubuntu-18.04, flags: -GNinja -DHIDAPI=ON -DUSB_LIB_SONAME="libusb-1.0.so.0", target_apt_arch: ":amd64" }
- { name: linux-x86, os: ubuntu-18.04, flags: -GNinja -DHIDAPI=ON -DUSB_LIB_SONAME="libusb-1.0.so.0", cmake_configure_env: CFLAGS=-m32 CXXFLAGS=-m32, target_apt_arch: ":i386" }
- { name: linux-x64, os: ubuntu-18.04, flags: -GNinja -DHIDAPI=ON, target_apt_arch: ":amd64" }
- { name: linux-x86, os: ubuntu-18.04, flags: -GNinja -DHIDAPI=ON, cmake_configure_env: CFLAGS=-m32 CXXFLAGS=-m32, target_apt_arch: ":i386" }
- { name: osx-x64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.14" }
# NOTE: macOS 11.0 is the first released supported by Apple Silicon.
- { name: osx-arm64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" }
@ -61,7 +61,6 @@ jobs:
libdrm-dev${{ matrix.platform.target_apt_arch }} \
libgbm-dev${{ matrix.platform.target_apt_arch }} \
libpulse-dev${{ matrix.platform.target_apt_arch }} \
libusb-1.0${{ matrix.platform.target_apt_arch }} \
libhidapi-dev${{ matrix.platform.target_apt_arch }} \
libwayland-client++0$ \
libwayland-cursor++0$ \