mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
docs: --init
added in Building Transmission from Git (updating)
section (#5688)
Whenever a new `third-party` submodule is being added, without the `--init` sub-command in `git submodule update --recursive`, the user will get bitten by compilation error due to an uninitialized submodule dependency.
This commit is contained in:
parent
5ec4ca550e
commit
487fef1963
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ If you're new to building programs from source code, this is typically easier th
|
|||
$ make clean
|
||||
$ git submodule foreach --recursive git clean -xfd
|
||||
$ git pull --rebase --prune
|
||||
$ git submodule update --recursive
|
||||
$ git submodule update --init --recursive
|
||||
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
||||
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||
|
|
Loading…
Reference in a new issue