Fix cmake command #13

Merged
qurious-pixel merged 2 commits from patch-7 into main 2021-02-16 09:40:13 +01:00

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}" \