mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-04-18 12:10:10 +08:00
Fix -j to export CMAKE_BUILD_PARALLEL_LEVEL. (#9195)
The existing support to use a specified number of cores for compilation was setting the variable CMAKE_BUILD_PARALLEL_LEVEL but not exporting it, so CMake was not being affected, while the -1 option did work (as it was exporting the value).
This commit is contained in:
parent
7f913f1cc2
commit
c4d47abc52
@ -49,7 +49,7 @@ while getopts ":1j:bcdghirsu" opt; do
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=1
|
||||
;;
|
||||
j )
|
||||
CMAKE_BUILD_PARALLEL_LEVEL=$OPTARG
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=$OPTARG
|
||||
;;
|
||||
b )
|
||||
BUILD_DEBUG="1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user