mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-22 12:34:58 +00:00
fix: ubuntu build error
This commit is contained in:
parent
3561af0058
commit
6929835f8d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ echo check build param[Debug/Release/MinSizeRel/RelWithDebInfo]
|
|||
echo ---------------------------------------------------------------
|
||||
|
||||
# 编译参数检查
|
||||
build_mode=$(echo $1 | tr '[:upper:]' '[:lower:]')
|
||||
build_mode=$(echo $1)
|
||||
if [[ $build_mode != "Release" && $build_mode != "Debug" && $build_mode != "MinSizeRel" && $build_mode != "RelWithDebInfo" ]]; then
|
||||
echo "error: unkonow build mode -- $1"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue