2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix macOS action

This commit is contained in:
Ilya Fedin
2022-04-16 14:14:48 +04:00
committed by John Preston
parent 90f99ebfbe
commit 6a3c1f2fd9

View File

@@ -443,6 +443,7 @@ stage('xz', """
!win:
git clone -b v5.2.5 https://git.tukaani.org/xz.git
cd xz
sed -i '' '\\@check_symbol_exists(futimens "sys/types.h;sys/stat.h" HAVE_FUTIMENS)@d' CMakeLists.txt
CFLAGS="$UNGUARDED" CPPFLAGS="$UNGUARDED" cmake -B build . \\
-D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=$MACOSX_DEPLOYMENT_TARGET \\
-D CMAKE_OSX_ARCHITECTURES="x86_64;arm64" \\