Try to reduce number of build threads only for OCCT
This commit is contained in:
parent
5a4f129812
commit
2486a2363c
3
deps/CMakeLists.txt
vendored
3
deps/CMakeLists.txt
vendored
@ -75,6 +75,9 @@ function(prusaslicer_add_cmake_project projectname)
|
|||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(_gen CMAKE_GENERATOR "${DEP_MSVC_GEN}" CMAKE_GENERATOR_PLATFORM "${DEP_PLATFORM}")
|
set(_gen CMAKE_GENERATOR "${DEP_MSVC_GEN}" CMAKE_GENERATOR_PLATFORM "${DEP_PLATFORM}")
|
||||||
set(_build_j "/m")
|
set(_build_j "/m")
|
||||||
|
if (${projectname} STREQUAL "OCCT")
|
||||||
|
set(_build_j "/m:1")
|
||||||
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
|
Loading…
Reference in New Issue
Block a user