Compare commits

...

2 Commits

Author SHA1 Message Date
Friwi
93c173340a Update compile_macosx.sh 2023-12-08 13:27:16 +01:00
Friwi
0bf27250e3 Check folder existence before moving 2023-10-06 13:20:21 +02:00
2 changed files with 11 additions and 4 deletions

View File

@@ -70,9 +70,13 @@ if [ -f "out/buildtools/clang-format" ]; then
fi
#Move jcef_build
rm -rf jcef/jcef_build
mv out/jcef_build jcef/jcef_build
if [ -f "out/jcef_build" ]; then
rm -rf jcef/jcef_build
mv out/jcef_build jcef/jcef_build
fi
#Move target to binary_distrib
rm -rf jcef/binary_distrib
mv out/target jcef/binary_distrib
if [ -f "out/target" ]; then
rm -rf jcef/binary_distrib
mv out/target jcef/binary_distrib
fi

View File

@@ -53,6 +53,9 @@ if [ ! -d "jcef_build" ]; then
fi
cd jcef_build
# Reinstall "six" python package to fix broken builds on amd64
pip install --ignore-installed six
# MacOS: Generate amd64/arm64 Makefiles.
if [ ${TARGETARCH} == 'amd64' ]; then
cmake -G "Ninja" -DPROJECT_ARCH="x86_64" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..