Proper cmake patching

This commit is contained in:
FriwiDev
2021-11-24 00:01:10 +01:00
parent 16d14bf294
commit 0e8dc56b0d
7 changed files with 91 additions and 328 deletions

View File

@@ -23,14 +23,14 @@ if [ ! -f "/jcef/README.md" ]; then
git clone ${REPO} /jcef
cd /jcef
git checkout ${REF}
#Temporary CMakeLists patching - beautify in the future
rm CMakeLists.txt
curl -o CMakeLists.txt https://raw.githubusercontent.com/jcefmaven/jcefbuild/master/CMakeLists.txt
else
echo "Found existing files to build"
cd /jcef
fi
#CMakeLists patching
python3 /builder/patch_cmake.py CMakeLists.txt /builder/CMakeLists.txt.patch
# Create and enter the `jcef_build` directory.
# The `jcef_build` directory name is required by other JCEF tooling
# and should not be changed.