Skip to content

Commit a0ac98d

Browse files
authored
Update README.md
1 parent 41d1fc4 commit a0ac98d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Compile the library and the examples
5959
$ mkdir build
6060
$ cd build
6161
$ cmake ..
62-
$ make -j4
62+
$ make -j$(nproc)
6363

6464
#### Option 2
6565

@@ -68,7 +68,7 @@ Compile only the library
6868
$ mkdir build
6969
$ cd build
7070
$ cmake .. -DBUILD_EXAMPLES=OFF
71-
$ make -j4
71+
$ make -j$(nproc)
7272

7373
#### Option 3
7474

@@ -77,7 +77,7 @@ Compile only the video library with the video example
7777
$ mkdir build
7878
$ cd build
7979
$ cmake .. -DBUILD_SENSORS=OFF
80-
$ make -j4
80+
$ make -j$(nproc)
8181

8282
#### Option 4
8383

@@ -86,7 +86,7 @@ Compile only the video library
8686
$ mkdir build
8787
$ cd build
8888
$ cmake .. -DBUILD_SENSORS=OFF -DBUILD_EXAMPLES=OFF
89-
$ make -j4
89+
$ make -j$(nproc)
9090

9191
#### Option 5
9292

@@ -95,7 +95,7 @@ Compile only the sensors library with the sensors example
9595
$ mkdir build
9696
$ cd build
9797
$ cmake .. -DBUILD_VIDEO=OFF
98-
$ make -j4
98+
$ make -j$(nproc)
9999

100100
#### Option 6
101101

@@ -104,9 +104,9 @@ Compile only the sensors library
104104
$ mkdir build
105105
$ cd build
106106
$ cmake .. -DBUILD_VIDEO=OFF -DBUILD_EXAMPLES=OFF
107-
$ make -j4
107+
$ make -j$(nproc)
108108

109-
## Installation
109+
### Install
110110

111111
After compiling it is possible to install the library and the examples.
112112
From inside the `build` folder:

0 commit comments

Comments
 (0)