build(cmake): error build on warning (#2165)

This commit is contained in:
ReenigneArcher 2024-02-24 22:34:53 -05:00 committed by GitHub
commit c6f94e93e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 50 additions and 6 deletions

View file

@ -61,6 +61,7 @@ build() {
-S "$pkgname" \
-B build \
-Wno-dev \
-D BUILD_WERROR=ON \
-D CMAKE_INSTALL_PREFIX=/usr \
-D SUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine \
-D SUNSHINE_ASSETS_DIR="share/sunshine"

View file

@ -330,6 +330,7 @@ modules:
npm_config_nodedir: /usr/lib/sdk/node18
NPM_CONFIG_LOGLEVEL: info
config-opts:
- -DBUILD_WERROR=ON
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/app
- -DCMAKE_CUDA_COMPILER=/app/cuda/bin/nvcc