Skip to content

Commit 7b5f2e0

Browse files
committed
make bash build examples work
1 parent 21db55e commit 7b5f2e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,9 +2317,9 @@ This will build the examples in the `build/examples` directory:
23172317

23182318
```bash
23192319
mkdir build
2320-
cmake -version
2320+
cd build
23212321
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2"
2322-
cmake --build . -j 2 --config Release
2322+
cmake --build . --config Release
23232323
```
23242324

23252325
On windows, replace `-O2` with `/O2`.
@@ -2330,9 +2330,9 @@ This will install Matplot++ on your system:
23302330

23312331
```bash
23322332
mkdir build
2333-
cmake -version
2333+
cd build
23342334
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2335-
cmake --build . -j 2 --config Release
2335+
cmake --build . --config Release
23362336
cmake --install .
23372337
```
23382338

@@ -2344,9 +2344,9 @@ This will create the binary packages you can use to install Matplot++ on your sy
23442344

23452345
```bash
23462346
mkdir build
2347-
cmake -version
2347+
cd build
23482348
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2349-
cmake --build . -j 2 --config Release
2349+
cmake --build . --config Release
23502350
cmake --install .
23512351
cpack .
23522352
```

0 commit comments

Comments
 (0)