Skip to content

Commit 9946dd1

Browse files
committed
restore '-j 2' build option
1 parent 7b5f2e0 commit 9946dd1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ This will build the examples in the `build/examples` directory:
23192319
mkdir build
23202320
cd build
23212321
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2"
2322-
cmake --build . --config Release
2322+
cmake --build . -j 2 --config Release
23232323
```
23242324

23252325
On windows, replace `-O2` with `/O2`.
@@ -2332,7 +2332,7 @@ This will install Matplot++ on your system:
23322332
mkdir build
23332333
cd build
23342334
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2335-
cmake --build . --config Release
2335+
cmake --build . -j 2 --config Release
23362336
cmake --install .
23372337
```
23382338

@@ -2346,13 +2346,15 @@ This will create the binary packages you can use to install Matplot++ on your sy
23462346
mkdir build
23472347
cd build
23482348
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF
2349-
cmake --build . --config Release
2349+
cmake --build . -j 2 --config Release
23502350
cmake --install .
23512351
cpack .
23522352
```
23532353

23542354
On windows, replace `-O2` with `/O2`. You might need `sudo` for this last command.
23552355

2356+
2357+
23562358
### CMake targets
23572359

23582360
#### Find it as a CMake Package

0 commit comments

Comments
 (0)