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 @@ -48,7 +48,7 @@ sudo apt-get install libgflags-dev
48
48
sudo apt-get install libgtest-dev
49
49
sudo pip install wheel
50
50
pushd /usr/src/gtest
51
- cmake ..
51
+ cmake .
52
52
make
53
53
sudo cp * .a /usr/lib
54
54
popd
@@ -106,19 +106,19 @@ Here are some examples of cmake command with different options:
106
106
** only cpu**
107
107
108
108
``` bash
109
- cmake -DWITH_GPU=OFF -DWITH_DOC=OFF ..
109
+ cmake -DWITH_GPU=OFF -DWITH_DOC=OFF
110
110
```
111
111
112
112
** gpu**
113
113
114
114
``` bash
115
- cmake -DWITH_GPU=ON -DWITH_DOC=OFF ..
115
+ cmake -DWITH_GPU=ON -DWITH_DOC=OFF
116
116
```
117
117
118
118
** gpu with doc and swig**
119
119
120
120
``` bash
121
- cmake -DWITH_GPU=ON -DWITH_DOC=ON -DWITH_SWIG_PY=ON ..
121
+ cmake -DWITH_GPU=ON -DWITH_DOC=ON -DWITH_SWIG_PY=ON
122
122
```
123
123
124
124
Finally, you can download source code and build:
@@ -232,19 +232,19 @@ Here are some examples of CMake command with different options:
232
232
** only cpu**
233
233
234
234
``` bash
235
- cmake -DWITH_GPU=OFF -DWITH_DOC=OFF ..
235
+ cmake -DWITH_GPU=OFF -DWITH_DOC=OFF
236
236
```
237
237
238
238
** gpu**
239
239
240
240
``` bash
241
- cmake -DWITH_GPU=ON -DWITH_DOC=OFF ..
241
+ cmake -DWITH_GPU=ON -DWITH_DOC=OFF
242
242
```
243
243
244
244
** gpu with doc and swig**
245
245
246
246
``` bash
247
- cmake -DWITH_GPU=ON -DWITH_DOC=ON -DWITH_SWIG_PY=ON ..
247
+ cmake -DWITH_GPU=ON -DWITH_DOC=ON -DWITH_SWIG_PY=ON
248
248
```
249
249
250
250
Finally, you can download source code and build:
You can’t perform that action at this time.
0 commit comments