build-style/cmake: add check fo nodebug flag
[ci skip]
This commit is contained in:
parent
2a1048fd65
commit
6f0fee9429
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ _EOF
|
||||||
fi
|
fi
|
||||||
cmake_args+=" -DCMAKE_INSTALL_PREFIX=/usr"
|
cmake_args+=" -DCMAKE_INSTALL_PREFIX=/usr"
|
||||||
|
|
||||||
if [ -n "$XBPS_DEBUG_PKGS" ]; then
|
if [ -n "$XBPS_DEBUG_PKGS"] && [ -z $nodebug ]; then
|
||||||
cmake_args+=" -DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
cmake_args+=" -DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||||
else
|
else
|
||||||
cmake_args+=" -DCMAKE_BUILD_TYPE=Release"
|
cmake_args+=" -DCMAKE_BUILD_TYPE=Release"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue