File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2317,7 +2317,7 @@ This will build the examples in the `build/examples` directory:
2317
2317
2318
2318
``` bash
2319
2319
mkdir build
2320
- cmake -version
2320
+ cd build
2321
2321
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2"
2322
2322
cmake --build . -j 2 --config Release
2323
2323
```
@@ -2330,7 +2330,7 @@ This will install Matplot++ on your system:
2330
2330
2331
2331
``` bash
2332
2332
mkdir build
2333
- cmake -version
2333
+ cd build
2334
2334
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2335
2335
cmake --build . -j 2 --config Release
2336
2336
cmake --install .
@@ -2344,7 +2344,7 @@ This will create the binary packages you can use to install Matplot++ on your sy
2344
2344
2345
2345
``` bash
2346
2346
mkdir build
2347
- cmake -version
2347
+ cd build
2348
2348
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" -O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2349
2349
cmake --build . -j 2 --config Release
2350
2350
cmake --install .
@@ -2353,6 +2353,8 @@ cpack .
2353
2353
2354
2354
On windows, replace ` -O2 ` with ` /O2 ` . You might need ` sudo ` for this last command.
2355
2355
2356
+
2357
+
2356
2358
### CMake targets
2357
2359
2358
2360
#### Find it as a CMake Package
You can’t perform that action at this time.
0 commit comments