1
0
Fork 0
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:
stefanos 2023-07-08 19:59:11 +03:00 committed by GitHub
parent 5ec4ca550e
commit 487fef1963
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ If you're new to building programs from source code, this is typically easier th
$ make clean $ make clean
$ git submodule foreach --recursive git clean -xfd $ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune $ 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=RelWithDebInfo to build optimzed binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..