Merge pull request #13 from qurious-pixel/patch-7

Fix cmake command
This commit is contained in:
MGThePro 2021-02-16 09:40:12 +01:00 committed by GitHub
commit 12bfd4e28f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ BRANCH=`echo ${GITHUB_REF##*/}`
ver=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17) ver=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17)
title="yuzu Early Access $ver" title="yuzu Early Access $ver"
ln -s /home/yuzu/.conan /root
yuzupatch=( $(ls -d patches/* ) ) yuzupatch=( $(ls -d patches/* ) )
for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done
@ -18,7 +19,7 @@ mkdir build && cd build
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \ -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \
-DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \ -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \
-DTITLE_BAR_FORMAT_IDLE="$title" \ -DTITLE_BAR_FORMAT_IDLE="$title" \
-DTITLE_BAR_FORMAT_RUNNING="$title | {3}" \ -DTITLE_BAR_FORMAT_RUNNING="$title | {3}" \