Skip to content

Commit

Permalink
Disable warnings-as-errors in gcc linux release build
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Jan 26, 2025
1 parent 44389ec commit 9af77be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ linux_amd64_gcc() {
mkdir -p "$output_directory/porytiles-$mode"
pushd Porytiles-0.x
export CXX="g++"
cmake -DWARNINGS_AS_ERRORS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_FIND_FRAMEWORK=NEVER -B build
cmake --compile-no-warning-as-error -DWARNINGS_AS_ERRORS=OFF -DCMAKE_COMPILE_WARNING_AS_ERROR=false -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_FIND_FRAMEWORK=NEVER -B build
pushd build
cmake --build .
cmake --compile-no-warning-as-error -DWARNINGS_AS_ERRORS=OFF --build .
popd
popd
package_release
Expand Down

0 comments on commit 9af77be

Please sign in to comment.