mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 22:28:39 +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 ---------------------------------------------------------------
|
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
|
if [[ $build_mode != "Release" && $build_mode != "Debug" && $build_mode != "MinSizeRel" && $build_mode != "RelWithDebInfo" ]]; then
|
||||||
echo "error: unkonow build mode -- $1"
|
echo "error: unkonow build mode -- $1"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue