mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00: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:
committed by
GitHub
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"
|
||||
|
||||
Reference in New Issue
Block a user