Skip to content

Commit

Permalink
fix build.sh: missing command line argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hnwyllmm committed Nov 13, 2024
1 parent 6d88bc0 commit e6ba846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function build {
local build_type_lower=$(echo "$1" | tr '[:upper:]' '[:lower:]') # 转换为小写
echo "Build type: $build_type_lower" # 输出构建类型

do_build "$build_type_lower" -DCMAKE_BUILD_TYPE="$build_type_lower" # 调用 do_build
do_build $@ -DCMAKE_BUILD_TYPE="$build_type_lower" # 调用 do_build
}


Expand Down

0 comments on commit e6ba846

Please sign in to comment.