Merge pull request #81 from qurious-pixel/patch-1

Header conflict fix (network.h)
This commit is contained in:
MGThePro 2022-07-31 07:36:07 +00:00 committed by GitHub
commit 117076fd71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} + find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} + find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} +
if [ -e src/core/network/network.h ]; then mv src/core/network/network.h src/core/network/network.h_ ; fi
# Add cache if does not exist # Add cache if does not exist
if [[ ! -e ~/.ccache ]]; then if [[ ! -e ~/.ccache ]]; then
mkdir ~/.ccache mkdir ~/.ccache