run.sh: set value -j to the number of cpu cores

This commit is contained in:
Sergwest585
2024-10-19 20:53:20 +03:00
parent 2a9e602a1b
commit a831e98457
+1 -1
View File
@@ -1,6 +1,6 @@
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . -j 16
cmake --build . -j$(nproc)
cd ..
build/VoxelEngine