Try to reduce number of build threads only for OCCT

This commit is contained in:
tamasmeszaros 2022-07-29 13:45:57 +02:00 committed by Lukas Matena
parent 5a4f129812
commit 2486a2363c

3
deps/CMakeLists.txt vendored
View File

@ -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(