From 6b8b9af88a2fef32039691d2013b637d04067e8e Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 25 May 2023 15:58:32 -0700
Subject: [PATCH] Disable HIDAPI libusb support on FreeBSD in CI
It looks like we're expecting a newer version of libusb than is installed on our VM image. Disabling pending further investigation.
---
.github/workflows/vmactions.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/vmactions.yml b/.github/workflows/vmactions.yml
index f701c8dbb0ea..e24f9d0ad1df 100644
--- a/.github/workflows/vmactions.yml
+++ b/.github/workflows/vmactions.yml
@@ -52,6 +52,7 @@ jobs:
cmake -S . -B build -GNinja \
-Wdeprecated -Wdev -Werror \
-DCMAKE_BUILD_TYPE=Release \
+ -DSDL_HIDAPI_LIBUSB=OFF \
-DSDL_CHECK_REQUIRED_INCLUDES="/usr/local/include" \
-DSDL_CHECK_REQUIRED_LINK_OPTIONS="-L/usr/local/lib"
cmake --build build/ --config Release --verbose -- -j`sysctl -n hw.ncpu`