build(cmake): error build on warning (#2165)
This commit is contained in:
parent
dde804f14b
commit
c6f94e93e0
13 changed files with 50 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue