From a6ac4f4599ab59d86f2df2b9084b34aa63bd3c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Sat, 3 Feb 2024 23:53:35 +0100 Subject: [PATCH] snap: fix CI patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MichaƂ Sawicz --- .github/workflows/linux-snap.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-snap.patch b/.github/workflows/linux-snap.patch index c74706001..c9f300e73 100644 --- a/.github/workflows/linux-snap.patch +++ b/.github/workflows/linux-snap.patch @@ -1,3 +1,5 @@ +diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml +index 6b9542555..7f5ccabf2 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -35,6 +35,7 @@ parts: @@ -28,13 +30,12 @@ - libbluetooth-dev - libhidapi-dev - libusb-dev -@@ -131,9 +137,12 @@ parts: +@@ -131,8 +137,11 @@ parts: - -DFTDISUPPORT=ON - -DLIBDIVECOMPUTER_LIBRARIES=../../../stage/usr/local/lib/libdivecomputer.so - -DLIBDIVECOMPUTER_INCLUDE_DIR=../../../stage/usr/local/include + - -DCMAKE_C_COMPILER_LAUNCHER=ccache + - -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - source-type: git build-packages: - build-essential + - ccache