Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit 028b6bd

Browse files
committed
Merge pull request #375 from forGGe/g374_broken_code_block
Fix thirdparty cache page
2 parents 047b0a5 + d4bce3a commit 028b6bd

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

doc/sphinx/source/guides/thirdparty-cache.rst

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,22 @@ Variables can be passed via an environment or CMake command-line arguments.
2020
Using environment variables
2121
---------------------------
2222

23-
1. Set variables
23+
#. Set variables::
2424

25-
```
26-
export THECORE_THIRDPARTY_DIR=~/.thecore_thirdparty
27-
# Note that if you build applications concurrently, you need THECORE_BUILD_THIRDPARTY_DIR
28-
# to be unique for every application.
29-
export THECORE_BUILD_THIRDPARTY_DIR=~/.thecore_thirdparty_worktree
30-
```
25+
export THECORE_THIRDPARTY_DIR=~/.thecore_thirdparty
26+
# Note that if you build applications concurrently, you need THECORE_BUILD_THIRDPARTY_DIR
27+
# to be unique for every application.
28+
export THECORE_BUILD_THIRDPARTY_DIR=~/.thecore_thirdparty_worktree
3129

32-
1. Run CMake as usual
30+
#. Run CMake as usual::
3331

34-
```
35-
cmake /path/to/application
36-
```
32+
cmake /path/to/application
3733

3834
Using CMake command line
3935
------------------------
4036

41-
```
42-
# Note that if you build applications concurrently, you need THECORE_BUILD_THIRDPARTY_DIR
43-
# to be unique for every application.
44-
cmake -DTHECORE_THIRDPARTY_DIR=~/.thecore_thirdparty -DTHECORE_BUILD_THIRDPARTY_DIR=~/.thecore_thirdparty_worktree /path/to/application
45-
```
37+
::
38+
39+
# Note that if you build applications concurrently, you need THECORE_BUILD_THIRDPARTY_DIR
40+
# to be unique for every application.
41+
cmake -DTHECORE_THIRDPARTY_DIR=~/.thecore_thirdparty -DTHECORE_BUILD_THIRDPARTY_DIR=~/.thecore_thirdparty_worktree /path/to/application

0 commit comments

Comments
 (0)