aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/build-freebsd.md2
-rw-r--r--doc/build-openbsd.md2
-rw-r--r--doc/build-unix.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/build-freebsd.md b/doc/build-freebsd.md
index fba5a17e9a..6a25e9a834 100644
--- a/doc/build-freebsd.md
+++ b/doc/build-freebsd.md
@@ -118,7 +118,7 @@ Run `cmake -B build -LH` to see the full list of available options.
This enables support for both wallet types, assuming
`sqlite3` and `db4` are both installed.
```bash
-cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
+cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
```
##### No Wallet or GUI
diff --git a/doc/build-openbsd.md b/doc/build-openbsd.md
index 32129aadf3..e10036a96b 100644
--- a/doc/build-openbsd.md
+++ b/doc/build-openbsd.md
@@ -112,7 +112,7 @@ Run `cmake -B build -LH` to see the full list of available options.
This enables support for both wallet types:
```bash
-cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
+cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
```
### 2. Compile
diff --git a/doc/build-unix.md b/doc/build-unix.md
index 61a66e1c1e..fcc066c87d 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -162,7 +162,7 @@ and configure using the following:
```bash
export BDB_PREFIX="/path/to/bitcoin/depends/x86_64-pc-linux-gnu"
-cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include"
+cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON
```
**Note**: Make sure that `BDB_PREFIX` is an absolute path.