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

@@ -12,9 +12,8 @@ if exist "jcef\README.md" (echo "Found existing files to build" && cd jcef) ^
else (echo "Did not find files to build - cloning..." && GOTO :CLONE)
:BUILD
:: Temporary CMakeLists patching - beautify in the future
del /f CMakeLists.txt
curl -o CMakeLists.txt https://raw.githubusercontent.com/jcefmaven/jcefbuild/master/CMakeLists.txt
:: CMakeLists patching
python3 C:/patch_cmake.py CMakeLists.txt C:/CMakeLists.txt.patch
:: Prepare build dir
mkdir jcef_build && cd jcef_build