File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Compile the library and the examples
59
59
$ mkdir build
60
60
$ cd build
61
61
$ cmake ..
62
- $ make -j4
62
+ $ make -j$(nproc)
63
63
64
64
#### Option 2
65
65
@@ -68,7 +68,7 @@ Compile only the library
68
68
$ mkdir build
69
69
$ cd build
70
70
$ cmake .. -DBUILD_EXAMPLES=OFF
71
- $ make -j4
71
+ $ make -j$(nproc)
72
72
73
73
#### Option 3
74
74
@@ -77,7 +77,7 @@ Compile only the video library with the video example
77
77
$ mkdir build
78
78
$ cd build
79
79
$ cmake .. -DBUILD_SENSORS=OFF
80
- $ make -j4
80
+ $ make -j$(nproc)
81
81
82
82
#### Option 4
83
83
@@ -86,7 +86,7 @@ Compile only the video library
86
86
$ mkdir build
87
87
$ cd build
88
88
$ cmake .. -DBUILD_SENSORS=OFF -DBUILD_EXAMPLES=OFF
89
- $ make -j4
89
+ $ make -j$(nproc)
90
90
91
91
#### Option 5
92
92
@@ -95,7 +95,7 @@ Compile only the sensors library with the sensors example
95
95
$ mkdir build
96
96
$ cd build
97
97
$ cmake .. -DBUILD_VIDEO=OFF
98
- $ make -j4
98
+ $ make -j$(nproc)
99
99
100
100
#### Option 6
101
101
@@ -104,9 +104,9 @@ Compile only the sensors library
104
104
$ mkdir build
105
105
$ cd build
106
106
$ cmake .. -DBUILD_VIDEO=OFF -DBUILD_EXAMPLES=OFF
107
- $ make -j4
107
+ $ make -j$(nproc)
108
108
109
- ## Installation
109
+ ### Install
110
110
111
111
After compiling it is possible to install the library and the examples.
112
112
From inside the ` build ` folder:
You can’t perform that action at this time.
0 commit comments