From aeb3490db8886fb9858cbfc2fc2363ab28310296 Mon Sep 17 00:00:00 2001 From: Frank Li Date: Tue, 1 Aug 2023 12:02:42 -0400 Subject: [PATCH] force use old libusb to compatible with ubuntu18.04 Signed-off-by: Frank Li --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 15128cb7..1fea8107 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,7 +35,7 @@ jobs: git fetch --tags --force # Retrieve annotated tags. #issue 290 mkdir build cd build - cmake -D 'STATIC=1' .. + if [ "${{ matrix.os }}" == "ubuntu-20.04" ]; then cmake -D 'STATIC=1' -D 'FORCE_OLD=on' .. ; else cmake -D 'STATIC=1' ..; fi; make - name: Upload Build Artifacts